Gentoo Archives: gentoo-user

From: "W.Kenworthy" <billk@×××××××××.au>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Mixing amd64 and x86 libraries
Date: Mon, 19 Dec 2005 02:55:10
Message-Id: 1134960654.8647.16.camel@localhost
In Reply to: [gentoo-user] Mixing amd64 and x86 libraries by Tom Carroll
1 Build ncurses manually ("ebuild [package] unpack compile install").
2 Using ldd, find what libs the application needs, locate them in the
3 ncurses install directory and copy them somewhere handy. Use
4 "LD_PRELOAD=/path/to/lib/libname application" to preload the required
5 library before running your application. Lots on the net about
6 LD_PRELOAD if you need more.
7
8 BillK
9
10
11 On Sun, 2005-12-18 at 21:15 -0500, Tom Carroll wrote:
12 > Fellow Gentoo Users -
13 >
14 > Here's the scenario: I have a x86 commerical, close-sourced application
15 > that is linked against x86 ncurses. The system that this program
16 > executes on is amd64. Is there a way I can emerge ncurses so that the
17 > result is two installs, one for x86 and one for amd64?
18 >
19 > Thanks
20 >
21 > ~ Tom
22 >
23 --
24 gentoo-user@g.o mailing list