[uClibc] .so files and gcc-3

Erik Andersen andersen at codepoet.org
Sat Oct 18 21:05:09 UTC 2003


On Sat Oct 18, 2003 at 09:46:34PM +0200, Peter S. Mazinger wrote:
> Hello!
> 
> I have read on the Gentoo userlist, that gcc-3 looks first in /usr/lib, 
> then in /lib. If this is the case, then all *.so files should go into 
> /usr/lib instead of /lib, else a static library will be found first.

If the following structure is in place, then shared libs will
be prefered as they ought to be.

# ls -Ul /lib/libuClibc-0.9.21.so /lib/libc.so.0 /usr/lib/libc.so
-rw-r--r--    1 root  root   6789402 Oct 17 20:33 /lib/libuClibc-0.9.21.so
lrwxrwxrwx    1 root  root        19 Oct 17 20:33 /lib/libc.so.0 -> libuClibc-0.9.21.so
lrwxrwxrwx    1 root  root        14 Oct 17 20:48 /usr/lib/libc.so -> /lib/libc.so.0

 -Erik

--
Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--



More information about the uClibc mailing list