Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 155552 - app-emulation/emul-linux-x86-gtklibs missing symlinks
Summary: app-emulation/emul-linux-x86-gtklibs missing symlinks
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-18 01:29 UTC by markus
Modified: 2006-11-22 20:01 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (info,3.03 KB, text/plain)
2006-11-18 01:30 UTC, markus
Details

Note You need to log in before you can comment on or make changes to this bug.
Description markus 2006-11-18 01:29:30 UTC
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
Comment 1 markus 2006-11-18 01:30:18 UTC
Created attachment 102246 [details]
emerge --info
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-11-18 01:33:56 UTC
Which emul-linux-x86-gtklibs version?
Comment 3 markus 2006-11-18 01:52:33 UTC
app-emulation/emul-linux-x86-gtklibs-2.10.6.2

markus
Comment 4 markus 2006-11-18 02:02:57 UTC
app-emulation/emul-linux-x86-gtklibs-2.10.6.2

forgot to reopen...
Comment 5 Richard Connon 2006-11-19 10:07:12 UTC
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
Comment 6 Richard Connon 2006-11-19 10:14:50 UTC
86 should have been 64 in the previous post
Comment 7 Simon Stelling (RETIRED) gentoo-dev 2006-11-20 09:28:35 UTC
They should. Tester, I think this is yours ;)
Comment 8 Olivier Crete (RETIRED) gentoo-dev 2006-11-20 16:29:21 UTC
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.
Comment 9 Michael Weyershäuser 2006-11-20 20:27:10 UTC
Well, nspluginwrapper does build against this and is a regular ebuild in the tree, so this should be fixed one way or the other...
Comment 10 Christoph Mende (RETIRED) gentoo-dev 2006-11-21 12:04:30 UTC
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.
Comment 11 Olivier Crete (RETIRED) gentoo-dev 2006-11-22 09:11:29 UTC
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@)
Comment 12 Olivier Crete (RETIRED) gentoo-dev 2006-11-22 20:01:33 UTC
alright, symlinks have been re-added...