Re: statically compiled snmpd start error
John Q <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
You are missing the point. Can I statically compile snmpd (compile all libraries in a single executable)? If so, how John ________________________________ From: Jatin Bodarya <[email protected]> To: 'John Q' <[email protected]> Sent: Thursday, 8 November 2012, 15:28 Subject: RE: statically compiled snmpd start error Check the location of snmpd whth “whereis snmpd” Than fire this command “ ldd /*location*/snmpd It will shows all dependency. Than try “locate libnetsnmpagent.so.25”and all the missing files... and put them into desired location.. Mainly in /usr/lib or /usr/local/lib according top your snmp version From:John Q [mailto:[email protected]] Sent: 08 November 2012 10:42 To: [email protected] Subject: statically compiled snmpd start error I have compiled net-snmp 5.6.2 libraries using configure --with-ldflags=-Bstatic for totally static executables. When I start snmpd I get the following error - error while loading shared libraries: libnetsnmpagent.so.25: cannot open shared object file: No such file or directory Appreciate your help in resolving this. Best Regards John ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_nov _______________________________________________ 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