Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 46003

Summary: prelink doesn't find wine libs (missing rpath)
Product: Gentoo Linux Reporter: jochen <jochen.eisinger>
Component: Current packagesAssignee: Stefan Jones (RETIRED) <cretin>
Status: RESOLVED CANTFIX    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description jochen 2004-03-28 09:57:25 UTC
I cannot prelink wine because prelink doesn't find the libs in /usr/lib/wine/lib. Since for example ldd /usr/lib/wine/bin/wineserver cannot locate the libraries, this is a bug against wine, not prelink.

Probably the correct -rpath has to be set when linking the binaries.

This is wine-20040309

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Stefan Jones (RETIRED) gentoo-dev 2004-04-05 05:20:55 UTC
Wine should not be prelinked at all, as it will muck up the mapping of the windows EXE address space.

So the fix would be to add the wine directories to the don't prelink list.

Doubt that I will get round to doing this anytime soon.
Comment 2 jochen 2004-09-02 05:13:51 UTC
ping?
Comment 3 Stefan Jones (RETIRED) gentoo-dev 2004-09-02 09:17:51 UTC
Still the same answer, wine should not be prelinked!
Need to implement a solution though ( when I get round to solving bugs )
Comment 4 jochen 2004-09-02 09:38:09 UTC
may I suggest an easy solution: just add /usr/lib/wine to the environment var PRELINK_PATH_MASK (or to the env-update script)
Comment 5 Stefan Jones (RETIRED) gentoo-dev 2004-09-09 11:36:26 UTC
No way of fixing this as you cannot exclude subdirectories from being prelinked,
and as /usr/lib needs to be prelinked we are stuck.

So I guess we just have to live with it.