Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 318549 (Rekai) - export LD_LIBRARY_PATH cause segfault
Summary: export LD_LIBRARY_PATH cause segfault
Status: RESOLVED NEEDINFO
Alias: Rekai
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-05 09:31 UTC by Rodrigo Gonzalez
Modified: 2010-05-10 23:55 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 Rodrigo Gonzalez 2010-05-05 09:31:08 UTC
If LD_LIBRARY_PATH is defined and '/usr/lib64' appears before '/lib64' any binary I try to execute segfaults. By default LD_LIBRARY_PATH is undefined, and some build scripts export LD_LIBRARY_PATH with /usr/lib64 before /lib64 or no /lib64 at all, causing the packages not to install.

Linux hoshi 2.6.32-gentoo-r4 #3 SMP Sat Feb 13 16:56:32 CET 2010 x86_64 Intel(R) Core(TM)2 Duo CPU P7350 @ 2.00GHz GenuineIntel GNU/Linux

GNU bash, version 4.0.37(2)-release (x86_64-pc-linux-gnu)

ldd (GNU libc) 2.10.1
Comment 1 Olivier Galibert 2010-05-05 11:29:11 UTC
That seems unique to you, and probably due to some broken leftover in your /usr/lib64.

Try a ldd on a breaking executable with and without LD_LIBRARY_PATH and check what changes.  ldd itself is not dynamic, so it should work.