Venkata Guddeti wrote: > I am now trying to compile my subagent code. > I have used the following libraries: > > /usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/auto/DynaLoader/DynaLoader.a > -L/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/CORE -lperl > /usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/auto/IO/IO.so > /usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/auto/Fcntl/Fcntl.so > /pnu/net-snmp/net-snmp-5.4/install/lib/libnetsnmpagent.a > /pnu/net-snmp/net-snmp-5.4/install/lib/libnetsnmpmibs.a > /pnu/net-snmp/net-snmp-5.4/install/lib/libnetsnmphelpers.a > /pnu/net-snmp/net-snmp-5.4/install/lib/libnetsnmp.a /usr/lib/libsnmp.a -lnsl > -lrpm -ldl -lrpmio -lpopt -lz -lcrypto -lm -lpthread -lgdbm -ldb -ldl -lm -lc > -lcrypt > > I have got the following only one error: > > /pnu/net-snmp/net-snmp-5.4/install/lib/libnetsnmpagent.a(snmp_perl.o)(.text+0x1b): > In function `xs_init': > /pnu/net-snmp/net-snmp-5.4/agent/snmp_perl.c:20: undefined reference to > `boot_DynaLoader' > collect2: ld returned 1 exit status
Is this still the "--disable-embedded-perl --without-perl-modules" Net-SNMP build we've been talking about earlier? Because you shouldn't have to link with Perl for a non-Perl Net-SNMP config. What's the output of: - net-snmp-config --configure-options - net-snmp-config --agent-libs ? Is this the *only* Net-SNMP installation on this box? +Thomas -- Thomas Anders (thomas.anders at blue-cable.de) ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
