Summary: | sys-libs/glibc-2.9_p20081201-r2 - LD_LIBRARY_PATH shouldn't contain the current directory when building glibc | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Roman Karshiev <balancer> |
Component: | [OLD] Core system | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED INVALID | ||
Severity: | major | CC: | bgreen0, gengor, m.bannerman |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
emerge --info emerge --info |
Description
Roman Karshiev
2009-06-27 10:13:55 UTC
Created attachment 195869 [details]
build.log
Created attachment 195870 [details]
emerge --info
post your `emerge --verbose --info` Created attachment 196036 [details]
emerge --info
reopen I'm experiencing this as well. My LD_LIBRARY_PATH is '/usr/lib64/mpi/mpi-openmpi/usr/lib64:" If I remove the trailing colon, the emerge succeeds. I don't believe a trailing colon implies searching in the current directory, does it? (In reply to comment #6) > I'm experiencing this as well. My LD_LIBRARY_PATH is > '/usr/lib64/mpi/mpi-openmpi/usr/lib64:" > If I remove the trailing colon, the emerge succeeds. > I don't believe a trailing colon implies searching in the current directory, > does it? > It used to, but it doesn't for some years now (security risk). unless i'm missing something, your LD_LIBRARY_PATH is incorrect and you should fix your system. i dont think we want to filter LD_LIBRARY_PATH from glibc as it may be set to something crazy (but correct/usable). Just an additional note, this still occurs if you have the colon at the start of the LD_LIBRARY_PATH. So a naive person like me might write in their .bashrc export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/opt/ati-stream-sdk/include/ And if LD_LIBRARY_PATH is unset glibc fails to compile. unless ati installs libraries into a dir named "include", that looks like a bogus path to add in the first place ... export LD_LIBRARY_PATH=${LD_LIBRARY_PATH:+${LD_LIBRARY_PATH}:}:/some/path |