On Sun, Feb 06, 2005 at 04:10:36PM +0000, James Green wrote:
Chris Green wrote:
snmp 4.2 is that last of the line from ucd-snmp. It then became net-snmp from version 5 onwards. My requirement is for at least version 5.1.2 (I think it's that, 5.x.x anyway) so the 4.2 versions are no use to me.
Now why libsnmp.so disappears between 4.2 and 5.x is what I need to find out.
V5 installs libnetsnmp.so. 'ldcconfig -v | grep libnetsnmp.so' and if it's not there, 'locate libnetsnmp.so', and path the path into /etc/ld.so.conf before running ldconfig -v again.
The problem is that the application I'm trying to build is looking for libsnmp.so, not libnetsnmp.so. The 5.x.x versions of net-snmp don't build/install a libsnmp.so, the 4.x.x versions did.
It's essentially a bug in the application (HPLIP) that I'm trying to build, although they say it requires net-snmp version >5.1.2 the configure script uses '-lsnmp' throughout. I've modified the configure script so it looks for -lnetsnmp and now it works. I've reported the error to the HPLIP developers.