Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 7652 - glibc complains about local path being in LD_LIBRARY_PATH when bootstrapping from stage 1
Summary: glibc complains about local path being in LD_LIBRARY_PATH when bootstrapping ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-09-08 10:58 UTC by J. Seidel
Modified: 2003-02-04 19:42 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 J. Seidel 2002-09-08 10:58:40 UTC
When chrooting into the Stage1-System out of another system, $LD_LIBRARY_PATH is
not being reset after env-update and source /etc/profile

If $LD_LIBRARY_PATH was set in the outer system (in my case it was
":/usr/local/qt/lib", this will result in the following Error-Message when
trying to build glibc (in my case this was when running the bootstrap-script)

*snip*

checking LD_LIBRARY_PATH variable... contains current directory
configure: error: 
*** LD_LIBRARY_PATH shouldn't contain the current directory when
*** building glibc. Please change the environment variable
*** and run configure again.

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 114, Exitcode 1
!!! (no error message)

*snip*

A quick workaround is unsetting $LD_LIBRARY_PATH or removing the seperating ":",
which seems to mean "include the local directory".
But I think it would make sense to reset it at least in the bootstrap-script, or
at least give a hint in the building-documentation.
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2002-09-08 12:57:17 UTC
Fixed on CVS.