On Wed Jun 21 2000 at 10:03, [EMAIL PROTECTED] wrote:

> 
>     After I instll xmllib in /usr/local/lib, the program still can't find
> libxml.so.1, even if I include /usr/local/lib in PATH, is still don't
> work, but if I set a link in /usr/lib,

Nope, this has (almost) nothing to do with your shell's $PATH

>     ln -s /usr/local/lib/libxml.so.1 libxml.so.1
> 
>     It will work, I assume that there is a setting, but where is it?

Add /usr/local/lib to /etc/ld.so.conf, run ldconfig (with `-v' if
you want to check the results), and away you go.

For "temporary solutions", you can set LD_LIBRARY_PATH to point to
the extra libraries...

LD_LIBRARY_PATH="/usr/local/lib:/usr/local/otherlib" some-command

(Yes, set the variable on the same line as the command you want to
run with these libraries - the variable "scope" is confined to the
environment that the command runs in).

Cheers
Tony
 -=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-
  Tony Nugent <[EMAIL PROTECTED]>    Systems Administrator, RHCE
  GrowZone OnLine       (a project of) GrowZone Development Network
  POBox 475 Toowoomba Oueensland Australia 4350    Ph: 07 4637 8322
 -=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-

Reply via email to