ldconfig vs LD_LIBRARY_PATH

James McDonald james_mcdonald
Mon May 17 11:33:31 PDT 2004


Hi All,

Just a question on LD_LIBRARY_PATH and ldconfig.

If you have added the path to a shared library to /etc/ld.so.conf and run 
ldconfig -v and your shared library shows up in the output from that command. 
Do you still need to define the path in the LD_LIBRARY_PATH env var.

I have noticed a lot of packages built from source instruct you to add the 
LD_LIBRARY_PATH env var.

I'm not too sure on this one...

Thanks in advance

-- 
  James McDonald
  MCSE (Windows 2000/NT4), CCNA, CCA, MCP + I
  Registered Linux User #209832
  http://jamesmcd.dns2go.com (home)
  Red Hat Linux release 7.2 (Enigma)
  9:53pm  up 5 days, 23:47, 11 users,  load average: 0.22, 0.17, 0.09




More information about the Linux-users mailing list