[LCP]3 questions...

Vincent Penquerc'h Vincent.Penquerch at artworks.co.uk
Fri Jul 25 17:15:02 UTC 2003


> Not sure why you'd want to link a shared library.  It's the 
> job of the 
> OS to find the library for you.  Specifically, it gets done by the 
> runtime linker ld.so.  Look at the man page for ld.so.

ld.so will only find it if it knows where to look for (eg, you
added the path in /etc/ld.so.conf). In fact, ldconfif just does
that: link to the shared object. But you're right to mention
ldconfig as a better way of doing this for "standard" paths to
libs.

-- 
Vincent Penquerc'h 



More information about the linuxCprogramming mailing list