[PATCH] Append system library paths to environment for test programs

Siddhesh Poyarekar siddhesh@redhat.com
Tue Apr 3 07:37:00 GMT 2012


On Tue, 03 Apr 2012 02:36:29 -0400 (EDT)
David Miller <davem@davemloft.net> wrote:
> I also think the whole ld.so.cache thing is a scarecrow and not the
> main issue.  It would even be more logical to talk about
> SYSROOT/etc/ld.so.conf instead, since that should be in your sysroot
> to direct the dynamic linker where to find libraries.
> 
> On my system it lists /lib/sparc-linux-gnu and /lib64 which are where
> the 32-bit and 64-bit shared libgcc are obtained from, respectively.

Can I document this? This seems like the best "standard" way to run
make check if we don't want to depend on the compiler search paths. I'm
not sure if the 'check' target runs ldconfig before it runs the
testsuite but it shouldn't hurt to do that unless you're running with
--prefix=/usr since then you'll be updating the system ld.so.cache
with a potentially buggy version of ldconfig.


--
Siddhesh



More information about the Libc-alpha mailing list