Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 20167 - bootstrap.sh fails compile of portage due to symlinks
Summary: bootstrap.sh fails compile of portage due to symlinks
Status: RESOLVED DUPLICATE of bug 55620
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Nicholas Jones (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-29 08:41 UTC by Chris Gianelloni (RETIRED)
Modified: 2005-07-17 13:06 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 Chris Gianelloni (RETIRED) gentoo-dev 2003-04-29 08:41:57 UTC
If the /usr partition is created under a different mount point and symlinked to
rather than being directly under the root filesystem, the symlinks in /usr/lib
will no longer point to their proper counterparts in /lib.  This is due to the
links being relative links rather than absolute links.

Reproducible: Always
Steps to Reproduce:
1. Follow installation instructions through first 8 steps, creating the usr
partition under another mount point, with a symlink in the root pointing to it
(eg. ln -sf /data/usr /usr)
2. emerge sync && scripts/bootstrap.sh
Actual Results:  
/usr/lib/gcc-lib/i586-pc-linux-gnu/3.2.2/../../../../i586-pc-linux-gnu/bin/ld:
cannot find -ldl

Expected Results:  
Portage should have compiled properly

Changing the symbolic links from pointing to ../../lib/libraryname to
/lib/libraryname solves this problem.
Comment 1 John Davis (zhen) (RETIRED) gentoo-dev 2004-01-20 21:43:43 UTC
forwarding to the portage team since it is more their area of responsibility
Comment 2 SpanKY gentoo-dev 2004-10-30 19:36:10 UTC

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