Hi Marc,
> net-snmp-config --cflags outputs this:
>
> -DNETSNMP_ENABLE_IPV6 -g -O2 -g -Wall -O2 -DNETSNMP_USE_INLINE -Ulinux
> -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe
> -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
> -I/usr/lib/perl/5.10/CORE -I. -I/usr/include
>
> But neither is /usr/lib/perl/5.10/CORE required to link against the
> net-snmp libraries, it also makes it impossible to build the SNMP perl
> module from cpan or other modules linking against the net-snmp libraries,
> as they get the header files from a different perl (the debian perl).
As libnetsnmpagent is compiled with embedded perl, the include path is required
to link
against this library.
ldd /usr/lib/libnetsnmpagent.so.15.1.0
libperl.so.5.10 => /usr/lib/libperl.so.5.10 (0xb7e6c000)
Thanks,
Jochen
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]