Net-snmp-5.3 - error while loading shared libraries
"Makavy, Erez (Erez)" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <AAB4B3D3CF0F454F98272CBE187FDE2F09CE8272@is0004avexu1.global.avaya.com> |
Hey, I get this error when running a sub-agent: ---------------------------------------------------------- error while loading shared libraries: libnetsnmpmibs.so.10: cannot open shared object file: No such file or directory Background: ------------------- I Installed net-snmp-5.3 to a different directory, with ./configure option --prefix="/usr/local/net-snmp-5.3". Analysis: -------------- using strace I can see that the sub-agent is trying to open libnetsnmpmibs.so.10 only from the /usr/lib directory. The file is not there, it is under /usr/local/net-snmp-5.3/lib. Questions: --------------- 1) Did I miss some ./configure option (maybe --with-libwrap)? 2) Is it a bug in installation? 3a) What does libnetsnmpmibs.so.10 include ? 3b) Why does a sub-agent need it ? Thanks, Erez Makavy. Erez Makavy.