installing libs from source

Todd Zullinger tmz at pobox.com
Wed Dec 20 15:12:14 UTC 2006


Brandon Rambo wrote:
> how do you use ldconfig?

man ldconfig, of course. :)

The main thing to be aware of if you've compiled a library from source
and installed it to /usr/local/lib is that you'll need to add that
path to the list that ldconfig checks (by default /lib and /usr/lib).

Basically, this means adding /usr/local/lib to /etc/ld.so.conf
(creating it if necessary).  Alternatively, you can create the file in
/etc/ld.so.conf.d, where any file ending in .conf is read.  So you
could put a local.conf there that contained /usr/local/lib.

$ echo /usr/local/lib > /etc/ld.so.conf.d/local.conf

See the man page for more details.

-- 
Todd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
======================================================================
There are no facts, only interpretations.
    -- Nietzsche, Twilight of the Idols

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 542 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20061220/171d2a19/attachment-0001.sig>


More information about the fedora-list mailing list