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
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.