View previous topic :: View next topic |
Author |
Message |
yfh2 Apprentice
Joined: 20 May 2004 Posts: 242
|
Posted: Sun Nov 12, 2006 11:51 pm Post subject: 'emul' 32 bit LibXext not found while present |
|
|
I built a crossdev toolchain for compiling 32 bits app on my 64 bit platform.
So I can :
Code: |
fanless Packages # gcc-config -l
[1] i386-pc-linux-gnu-4.1.1 *
[2] x86_64-pc-linux-gnu-3.4.6 *
[3] x86_64-pc-linux-gnu-3.4.6-hardened
[4] x86_64-pc-linux-gnu-3.4.6-hardenednopie
[5] x86_64-pc-linux-gnu-3.4.6-hardenednopiessp
[6] x86_64-pc-linux-gnu-3.4.6-hardenednossp
[7] x86_64-pc-linux-gnu-4.1.1
fanless Packages # gcc-config 1
* Switching cross-compiler to i386-pc-linux-gnu-4.1.1 ... [ ok ]
fanless Packages # export CHOST=i386-pc-linux-gnu (just sanity check - not sure it's of any help)
|
The problem is when I run a configure script (executed from rpm), i don't get the libraries :
Code: |
fanless Packages # rpmbuild --target i386 -tb qgo-1.5.2.tar.gz
Construction pour plate-formes cibles: i386
Construction pour cible i386
.................(snip)
checking for libXext... no
configure: error: We need a working libXext to proceed. Since configure
can't find it itself, we stop here assuming that make wouldn't find
them either.
|
The config.log gives me
Code: |
configure:12088: checking for libXext
configure:12123: /usr/bin/i386-pc-linux-gnu-gcc -o conftest -g -march=i386 -mcpu=i686 -DDATADIR='"${prefix}/share"' -L/usr/X11R6/lib conftest.c -lXext -lX11 -lresolv >&5
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
/usr/libexec/gcc/i386-pc-linux-gnu/ld: skipping incompatible /usr/X11R6/lib/libXext.so when searching for -lXext
/usr/libexec/gcc/i386-pc-linux-gnu/ld: skipping incompatible /usr/X11R6/lib/libXext.a when searching for -lXext
/usr/libexec/gcc/i386-pc-linux-gnu/ld: cannot find -lXext
collect2: ld returned 1 exit status
|
While ldconfig pretends the libraries are around :
Code: |
fanless Packages # ldconfig -p
...
libXext.so.6 (libc6,x86-64) => /usr/lib/libXext.so.6
libXext.so.6 (libc6) => /emul/linux/x86/usr/lib/libXext.so.6
libXext.so (libc6,x86-64) => /usr/lib/libXext.so
libXext.so (libc6) => /emul/linux/x86/usr/lib/libXext.so
...
|
Any idea as to how I could get those libraries (emul LibXext) in the way ?
Thanks in advance |
|
Back to top |
|
|
yfh2 Apprentice
Joined: 20 May 2004 Posts: 242
|
Posted: Wed Nov 29, 2006 11:02 pm Post subject: |
|
|
Hello ... ooo ... oo ... o
Anyone there ? ... eer ... er |
|
Back to top |
|
|
loftwyr l33t
Joined: 29 Dec 2004 Posts: 970 Location: 43°38'23.62"N 79°27'8.60"W
|
Posted: Thu Nov 30, 2006 1:33 am Post subject: |
|
|
It's looking for a 32bit library, not the 64bit one. You probably need to install the emul-* libraries. _________________ My emerge --info
Have you run revdep-rebuild lately? It's in gentoolkit and it's worth a shot if things don't work well.
Celebrating 5 years of Gentoo-ing. |
|
Back to top |
|
|
yfh2 Apprentice
Joined: 20 May 2004 Posts: 242
|
Posted: Fri Dec 01, 2006 8:38 pm Post subject: |
|
|
It happens that emul-linux-x86-xlibs is installed ...
Code: |
fanless eb # emerge -s emul-linux-x86-xlibs
Searching...
[ Results for search key : emul-linux-x86-xlibs ]
[ Applications found : 1 ]
* app-emulation/emul-linux-x86-xlibs
Latest version available: 7.0-r2
Latest version installed: 7.0-r2
Size of files: 14,012 kB
Homepage: http://www.gentoo.org/
Description: X11R6 libraries for emulation of 32bit x86 on amd64
License: GPL-2
|
It doescontain the incriminated file : /emul/linux/x86/usr/lib/libXext.so.6.4.0
Now, How do I point the linker (or else) to it ?
TIA |
|
Back to top |
|
|
|