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

David Miller davem@davemloft.net
Mon Apr 2 05:13:00 GMT 2012


From: Siddhesh Poyarekar <siddhesh@redhat.com>
Date: Mon, 2 Apr 2012 10:33:19 +0530

> A bunch of tests fail on my system due to not being able to find some
> libraries (libgcc_s.so, libstdc++.so). I found that this is because I
> have a 64-bit Fedora install, which puts these libraries in /lib64
> and /usr/lib64 instead of the usual /lib and /usr/lib.

I do not see your failures on 64-bit sparc builds and native
x86-64 Fedora-16, which have the attribute you say is necessary
to trigger the failure.

/lib64 et al. should be handled by slibdir which propagates into
default-rpath

Something is unique to your environment to cause these problems
otherwise everyone would be reporting it.



More information about the Libc-alpha mailing list