On Sat, Feb 05, 2005 at 11:25:30PM +0000, Richard Kettlewell wrote:
Chris Green chris@areti.co.uk writes:
I have a utility which says it requires net-snmp, OK, that's a normal sort of statement.
However the ./configure script actually asks for 'lsnmp', i.e. it's looking for linsnmp.so when it builds.
Presumably you mean -lsnmp and thus libsnmp.so.
I have installed lib-snmp but it doesn't provide a libsnmp.so and there really doesn't seem to be such a thing as just an snmp library.
Can anyone throw any light on this confusion?
You don't say what distribution you're using, but it's usual to need a separate development package to be able to compile against a shared library. For instance in Debian, libsnmp5 contains libsnmp.so.5 and the symlink from libsnmp.so is only found in libsnmp5-dev.
Ah, now that may be relevant, thanks. I had downloaded the dev package since I'd been thinking along these lines too. I'll build it and install it and see if it helps any.