net-www/nspluginwrapper-0.9.90.3 ebuild fails to locate some (32 bit?)libraries during linking even though they appear to be present. /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/X11R6/lib/libdl.so when searching for -ldl /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/X11R6/lib/libdl.a when searching for -ldl /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/X11R6/lib/libpthread.so when searching for -lpthread /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/X11R6/lib/libpthread.a when searching for -lpthread /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/X11R6/lib/libgtk-x11-2.0.so when searching for -lgtk-x11-2.0 /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../libgtk-x11-2.0.so when searching for -lgtk-x11-2.0 /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libgtk-x11-2.0.so when searching for -lgtk-x11-2.0 /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lgtk-x11-2.0 collect2: ld returned 1 exit status make: *** [npviewer.bin] Error 1 $locate libgtk-x11-2.0 /usr/lib64/libgtk-x11-2.0.so.0 /usr/lib64/libgtk-x11-2.0.la /usr/lib64/libgtk-x11-2.0.so /usr/lib64/libgtk-x11-2.0.so.0.1000.6 /emul/linux/x86/usr/lib/libgtk-x11-2.0.so.0.1000.6 /emul/linux/x86/usr/lib/libgtk-x11-2.0.so.0 emerge --info is attached thanx markus
Created attachment 102246 [details] emerge --info
Which emul-linux-x86-gtklibs version?
app-emulation/emul-linux-x86-gtklibs-2.10.6.2 markus
app-emulation/emul-linux-x86-gtklibs-2.10.6.2 forgot to reopen...
This can be fixed by adding a symlink /emul/linux/x86/usr/lib/libgtk-x11-2.0.so pointing to /emul/linux/x86/usr/lib/libgtk-x11-2.0.so.0 and doing the same for the other libraries which it complains about later. I'm not sure if these symlinks should exist in emul-linux-x86-gtklibs Similar ones do appear in /usr/lib for the 86 bit versions of the same libraries
86 should have been 64 in the previous post
They should. Tester, I think this is yours ;)
you shouldn't build anything against the emul libs. If you want to build your own packages, make a 32bit chroot. They are just meant to run binary packages.
Well, nspluginwrapper does build against this and is a regular ebuild in the tree, so this should be fixed one way or the other...
nspluginwrapper only has a RDEPEND on gtklibs, so I'd say it doesn't build against it - all the libs and bins seem to be 64bit too.
imho the problem is that nspluginwrapper builds against this.. nspluginwrapper should just be provided as a -bin. Or someone should add the symlinks to the emul libs. I think the whole concept of building against them is very evil, since they dont provide the pkg-config files or the header files. If we want to build multilib stuff, we should do it the proper way making a proper multilib portage. (I'm in amd64@)
alright, symlinks have been re-added...