Unresolved References In Libnetsnmpagent.so

Home » CentOS » Unresolved References In Libnetsnmpagent.so
CentOS 3 Comments

Hi,
I am running an up to date CentOS5.9 system. The package, net-snmp-devel-5.3.2.2-20.el5

Contains among oteher things:
/usr/lib/libnetsnmpagent.so

When I link with this library (-lnetsnmpagent), I get a bunch of unresolved references.:
My Google searches has not given me hints to where the C to Perl library exists. I would guess that yum would have loaded the correct package as a dependency:

Could someone point me to the correct library?
Thank you.

/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libnetsnmpagent.so: undefined reference to `perl_free’
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libnetsnmpagent.so: undefined reference to `perl_parse’
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libnetsnmpagent.so: undefined reference to `Perl_eval_pv’
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libnetsnmpagent.so: undefined reference to `perl_run’
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libnetsnmpagent.so: undefined reference to `perl_alloc’
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libnetsnmpagent.so: undefined reference to `make_tempfile’
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libnetsnmpagent.so: undefined reference to `boot_DynaLoader’
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libnetsnmpagent.so: undefined reference to `perl_construct’
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libnetsnmpagent.so: undefined reference to `perl_destruct’
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libnetsnmpagent.so: undefined reference to `hosts_ctl’
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libnetsnmpagent.so: undefined reference to `Perl_newXS’

Bob Styma Phoenix, AZ

3 thoughts on - Unresolved References In Libnetsnmpagent.so

LEAVE A COMMENT