Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 33174 - Portage doesn't add /usr/lib/wine/lib to /etc/ld.so.conf
Summary: Portage doesn't add /usr/lib/wine/lib to /etc/ld.so.conf
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All Linux
: High normal
Assignee: Wine Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-10 15:07 UTC by Lordy
Modified: 2011-10-30 22:20 UTC (History)
1 user (show)

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 Lordy 2003-11-10 15:07:23 UTC
Portage doesn't add /usr/lib/wine/lib to /etc/ld.so.conf which is necessary for 
some wine-tools like wineboot to run

Reproducible: Always
Steps to Reproduce:
1. emerge wine
2. try running /usr/lib/wine/bin/wineboot




Expected Results:  
Portage should add /usr/lib/wine/lib/ to /etc/ld.so.conf and run ldconfig after 
installation
Comment 1 SpanKY gentoo-dev 2003-11-11 04:36:42 UTC
sure it does, it creates /etc/env.d/30wine
Comment 2 Alex Veber (RETIRED) gentoo-dev 2003-11-12 02:02:53 UTC
ahm, no it doesn't.
we do this on purpose so that diffrent versions of wine can be installed and used at the same time (using a wrapper which sets the correct lib path).
maybe we should remove the wrapper now that winex is gone?
I really don't know.
Comment 3 SpanKY gentoo-dev 2003-11-12 21:37:40 UTC
mine must be left over then from older wine installs :p
Comment 4 REMOVED ACCOUNT 2004-04-11 09:02:16 UTC
> we do this on purpose so that diffrent versions of wine can be installed and 
> used at the same time 

Unfortunately this makes it really hard to use Wine if you have only one version installed... There are lots of useful programs in /usr/bin/wine/bin (which would be nice to have on the PATH as well, BTW) such as wcmd or the compiler suite (winegcc, wineg++, wrc, widl).

Can't there be global setting in /etc/env.d for wine ebuild and wrapper scripts for other wine version that override it (LD_LIBRARY_PATH takes precedence, se the right libs would be picked if it is set by the wrapper script, regardless of whether /usr/lib/wine/lib is in /etc/ld.so.conf or not)?
Comment 5 Eric Shattow 2004-09-27 13:12:26 UTC
this is a duplicate of (wine needs wine-config bug #9842)
Comment 6 SpanKY gentoo-dev 2004-10-27 12:53:02 UTC
20041019-r1 installs into /usr like a good package