Re: installing libs from source

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Attachment: pgpLy3LHqYDCq.pgp
Description: PGP signature


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux