Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 46003 - prelink doesn't find wine libs (missing rpath)
Summary: prelink doesn't find wine libs (missing rpath)
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Stefan Jones (RETIRED)
Depends on:
Reported: 2004-03-28 09:57 UTC by jochen
Modified: 2004-09-09 11:36 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
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:
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
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.