[Pkg-net-snmp-devel] Bug#502806: Bug#502806: libsnmp-base: forcing perl headers in net-snmp-config --cflags breaks perl builds

Jochen Friedrich jochen at scram.de
Tue Oct 21 09:00:40 UTC 2008


Hi Marc,

>> As libnetsnmpagent is compiled with embedded perl, the include path is required to link
>> against this library.
> 
> Uhm, no?

In order to use a library with embedded perl, a program needs to call the PERL_SYS_INIT3()
and PERL_SYS_TERM() macros. Those macros are defined in the perl header files.

The fact that snmpd doesn't do it right now is a different bug (#495060) though.

Thanks,
Jochen





More information about the Pkg-net-snmp-devel mailing list