This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Append system library paths to environment for testprograms


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]