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

Re: Libraries path?



[Please don't top quote!  It makes your message harder to read,
especially in long threads.]

On Sat, May 24, 2003 at 12:26:08AM -0400, Kevin Mark wrote:
> Hi Joel,
> libraries use the contents of /etc/ld.so.conf
> to find things. It may be that this needs to be updated.
> try adding /usr/local/lib to it. (Assuming it is not already in there)
> -K
> On Fri, 2003-05-23 at 14:18, Joel Konkle-Parker wrote:
> > GNOMAD 1.1.6 requires libnjb.so.0, which by default is installed in 
> > /usr/local/lib. It can't find it there, however, forcing me to link to 
> > it from /usr/lib. Is there an easy way to add /usr/local/lib to some 
> > sort of libraries path or something so programs can find it there?
> > 
> > - Joel

After editing /etc/ld.so.conf, you'll need to run 'ldconfig -X' as root
to rebuild the cache for the linker.  You could also add that directory
to the LD_LIBRARY_PATH environment variable, or even as a LD_PRELOAD
item.

-- 
Rob Weir <rweir@ertius.org>  |   mlspam@ertius.org   |   http://www.ertius.org/
GPG keys: 1024D/1E73B7CD, 4096R/3ABDE5EC     |      Do I look like I want a CC?
Words of the day:                                                  Pakistan CDC

Attachment: pgpxwOyRxf2n9.pgp
Description: PGP signature


Reply to: