I believe you can also add the path to /etc/ld.so.conf and run ldconfig
Kenny
> [EMAIL PROTECTED] writes:
> 
> > How do I tell the system to use /usr/local/lib
> > as well as /usr/local?
> 
> I can't remember how to get ld to permanently look here, but you might
> try this:
> 
> export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/lib"
> 
> and then run your program from this environment.
> 
> This will work on most of the Unices that I am familiar with, with the
> notable exception of HP-UX, which, IIRC, uses the variable SHLIB_PATH
> instead.
> 
> --kevin
> -- 
> Kevin D. Clark          |                          |
> [EMAIL PROTECTED] | [EMAIL PROTECTED] |  Give me a decent UNIX
> Cabletron Systems, Inc. | PGP Key Available        | and I can move the world
> Durham, N.H. (USA)      |                          |
> 
> 
> **********************************************************
> To unsubscribe from this list, send mail to
> [EMAIL PROTECTED] with the following text in the
> *body* (*not* the subject line) of the letter:
> unsubscribe gnhlug
> **********************************************************


---------------------------------------------
This message was sent using Endymion MailMan.
http://www.endymion.com/products/mailman/



**********************************************************
To unsubscribe from this list, send mail to
[EMAIL PROTECTED] with the following text in the
*body* (*not* the subject line) of the letter:
unsubscribe gnhlug
**********************************************************

Reply via email to