Re: Shared Library Problem....

Patrick J Kobly <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
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 <mailto:[email protected]>
>     *To:* Nikos Balkanas <mailto:[email protected]>
>     *Cc:* [email protected]
>     <mailto:[email protected]>
>     *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

------------------------------------------------------------------------------
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
signature.asc (application/pgp-signature, 250 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJZQVaCODE1AJ6UNoRAoHfAKCwCZcE/Q4k7MHNbZ34TjwtyiFbhQCdHKm5
/6o4nbTStdl5WHKD9nnBiOk=
=S1T4
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.