Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 3698 - env-update orders $LDPATH alphabetically (why?)
Summary: env-update orders $LDPATH alphabetically (why?)
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Daniel Robbins (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 3621
  Show dependency tree
 
Reported: 2002-06-13 13:47 UTC by Dan Armak (RETIRED)
Modified: 2011-10-30 22:19 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 Dan Armak (RETIRED) gentoo-dev 2002-06-13 13:47:32 UTC
Look at line 277 in portage.py (line ref from the the new ultrafast version): 
it's ordering $LDPATH alphabetically. I don't know why this is so but it's not 
the expected behaviour because it ignores the order of the env.d files that 
set $LDPATH. 
 
The problem that raised this was that libartsc (from arts, kde) is compatible 
both ways between kde2 and kde3. A program (e.g. libsdl) compiles against the 
correct arts (the newer kde3 one), but at runtime /usr/kde/2 comes before 
/usr/kde/3 in the alphabetically-sorted ld.so.conf and the wrong libartsc.so 
is loaded.