linking error libnetsnmpagent.so: undefined reference to `boot_DynaLoader'

"Anjali Riat" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi,

I have recently upgraded the netsnmp version we are using from
net-snmp-5.3.1 to net-snmp-5.4.   I used the following installation
procedure -
        ./configure --with-perl-modules
        make
        make install

After upgrade, on compiling the agent code, I received the following linking
errors -
        ../../cots/netsnmp/lib/libnetsnmpagent.so: undefined reference to
`perl_construct'
        ../../cots/netsnmp/lib/libnetsnmpagent.so: undefined reference to
`perl_parse'
        ../../cots/netsnmp/lib/libnetsnmpagent.so: undefined reference to
`Perl_newXS'
        ../../cots/netsnmp/lib/libnetsnmpagent.so: undefined reference to
`perl_run'
        ../../cots/netsnmp/lib/libnetsnmpagent.so: undefined reference to
`boot_DynaLoader'
        ../../cots/netsnmp/lib/libnetsnmpagent.so: undefined reference to
`Perl_eval_pv'
        ../../cots/netsnmp/lib/libnetsnmpagent.so: undefined reference to
`perl_destruct'
        ../../cots/netsnmp/lib/libnetsnmpagent.so: undefined reference to
`perl_alloc'
        ../../cots/netsnmp/lib/libnetsnmpagent.so: undefined reference to
`perl_free'
        collect2: ld returned 1 exit status

These I have managed to resolve by modifying the Makefile to add the libperl
library to the libraries being linked.  I am now facing the following error
-
        ../../cots/netsnmp/lib/libnetsnmpagent.so: undefined reference to
`boot_DynaLoader'
        collect2: ld returned 1 exit status
        make: *** [snmpAgent] Error 1

Need some info on how this can be resolved.

Thanks in advance,
Anjali

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.