I suspect he was saying that he added /usr/local/lib to /etc/ld.so.conf.  This is (one of) the correct way(s) to do this.

/usr/local/lib is not a trusted library path for the dynamic linker/loader (at least in Fedora).  Adding it to ld.so.conf forces the linker/loader to consider the libraries in /usr/local/lib before /usr/lib and /lib

PK

Nikos Balkanas wrote:
Glad could help. However I think it would be better to modify your LD_LIBRARY_PATH. Putting libraries in /etc (if I read you correctly) is not recommended in Unix. Furthermore /usr/local/lib is a very important path and you will need it again.
 
BR,
Nikos
----- Original Message -----
From: maksud
Sent: Wednesday, January 07, 2009 6:23 PM
Subject: Re: Shared Library Problem....

Thanks. You had let me to the solution. However I did not modify the LD_LIBRARY_PATH. My fedora distro had a preinstalled net-snmp libraries. I just added /usr/local/lib in /etc/.. some folder. and run ldconfig to refresh the cache. Now it is running without any problem.

Thanks
Maksud

--

 

Patrick Kobly, CISSP

 

T: 403-274-9033

C: 403-463-6141

F: 866-786-9459

56 388 Sandarac Dr NW
Calgary, Alberta
T3K 4E3
http://www.kobly.com

 

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to