Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 297178 - x11-libs/wxGTK links against system libjpeg as well as the prefix one
Summary: x11-libs/wxGTK links against system libjpeg as well as the prefix one
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-16 15:27 UTC by Richard Connon
Modified: 2009-12-20 19:46 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Connon 2009-12-16 15:27:48 UTC
For some reason wxGTK seems to link against both the system and the prefix libjpeg and this causes some issues.

$ ldd libwx_gtk2u_core-2.8.so | grep jpeg
	libjpeg.so.62 => /usr/lib64/libjpeg.so.62 (0x00002ad0c67f1000)
	libjpeg.so.7 => /home/user-pool/users/sw6400/rc6488/gentoo/usr/lib/libjpeg.so.7 (0x00002ad0ca5ae000)

Reproducible: Always

Steps to Reproduce:
Comment 1 Fabian Groffen gentoo-dev 2009-12-19 20:40:43 UTC
Can you run an ldd -v to see which lib is pulled in which causes the indirect reference to the non-prefix jpeg lib?  That lib is the one we need to fix.
Comment 2 Richard Connon 2009-12-19 20:47:12 UTC
libjpeg.so.62 is the one which is linked directly... libjpeg.so.7 is linked via libtiff.so.3 so it seems to be wxGTK that's the problem rather than its deps...
Comment 3 Fabian Groffen gentoo-dev 2009-12-19 20:48:35 UTC
good, then the search is for the build.log of wxgtk to see where the host lib path is being pulled in
Comment 4 Fabian Groffen gentoo-dev 2009-12-20 19:05:56 UTC
I think I found a possible reason why this happened, wxGTK's configure script is a nice hell for Prefix.
Comment 5 Fabian Groffen gentoo-dev 2009-12-20 19:46:01 UTC
fixed by disabling upstream's libdir-name detection, Gentoo (Prefix) knows best ;)