Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 154934 - /usr/lib/ relative symlink breaks libdl if /usr is moved with symlink
Summary: /usr/lib/ relative symlink breaks libdl if /usr is moved with symlink
Status: RESOLVED DUPLICATE of bug 112413
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
Depends on:
Reported: 2006-11-12 14:10 UTC by Tim Verlander
Modified: 2006-11-12 14:12 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 Tim Verlander 2006-11-12 14:10:07 UTC
libdl in glibc 2.3.6-r5

/usr/lib/ is a relative symlink to /lib/ - i.e. ls -l /usr/lib/ gives -> ../../lib/

The use of a relative symlink breaks the library in instances where /usr is located elsewhere (e.g. /export/usr) and is symlinked into place (e.g. ln -s /export/usr /usr).  This break manifests as an inability to link against libdl when building ebuilds such as gawk, baselayout, etc, causing failed ebuilds.

I fail to see any Good Reason for the use of relative symlink in this instance so I'm submitting it as a bug!

If you need further information then you are very welcome to contact me
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-11-12 14:12:43 UTC
Don't move /usr via symlinks.

*** This bug has been marked as a duplicate of 112413 ***