Dear All
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
I am seeing these problems when I started using Net-snmp 5.4. To compile my
subagent code with 5.4, I have added few extra libraries which are listed above
(e.g. IO.so, Fcntl.so, DynaLoader.a etc..)
Any help is greatly appreciated.
Thank you very much
Reddy
Thomas Anders <[EMAIL PROTECTED]> wrote: Venkata Guddeti wrote:
> I have tried with the options given below.
> But make install still tries to write files outside in the installation dir
> I provided.
> The command I have used for configure is as follows:
> ./configure LDFLAGS=-L/usr/lib64 [EMAIL PROTECTED] --with-sys-location=Lab
> --with-logfile=/var/log/snmpd.log --with-persistent-directory=/var/net-snmp
> --with-default-snmp-version=2 --with-out-perl-modules --disable-embedded-perl
> --prefix=/install
Like I said:
> Thomas Anders wrote:
> ... --without-perl-modules ..., actually.
+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
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders