libperl.a: could not read symbols:Bad value
Awadhesh Kumar <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <OFA8FEE7C3.F33ADB1E-ON652572D8.003DD8B5-652572D8.003C871E@hsc.com> |
Hi, My linux machine [Linux ggns1bfx01.hsc.com 2.6.9-22.EL #1 Mon Sep 19 17:49:49 EDT 2005 x86_64 x86_64 x86_64 GNU/Linux] has installed version of net-snmp 5.1.4 . Now i am installing the Net-SNMP-5.4 from source code. When i give command make it gives following error. rm -f ../blib/arch/auto/NetSNMP/agent/agent.so LD_RUN_PATH="/usr/local/lib:/usr/local/lib/perl5/5.8.5/x86_64-linux/CORE" cc -s hared -L/usr/local/lib agent.o -o .../blib/arch/auto/NetSNMP/agent/agent.so -L /root/net-snmp-5.4/perl/agent/../../snmplib/.libs -L/root/net-snmp-5.4/perl/agen t/../../snmplib -L/root/net-snmp-5.4/perl/agent/../../agent/.libs -L/root/net-sn mp-5.4/perl/agent/../../agent -L/root/net-snmp-5.4/perl/agent/../../agent/helper s/.libs -L/root/net-snmp-5.4/perl/agent/../../agent/helpers -L/usr/local/lib -ln etsnmpmibs -lnetsnmpagent -lnetsnmphelpers -lnetsnmp -ldl -lz -lcrypto -lm -L/us r/local/lib -L/usr/local/lib/perl5/5.8.5/x86_64-linux/CORE -lperl -lnsl -ldl -lm -lcrypt -lutil -lc /usr/bin/ld: /usr/local/lib/perl5/5.8.5/x86_64-linux/CORE/libperl.a(perl.o): rel ocation R_X86_64_32 against `PL_memory_wrap' can not be used when making a share d object; recompile with -fPIC /usr/local/lib/perl5/5.8.5/x86_64-linux/CORE/libperl.a: could not read symbols: Bad value collect2: ld returned 1 exit status make[2]: *** [../blib/arch/auto/NetSNMP/agent/agent.so] Error 1 make[2]: Leaving directory `/root/net-snmp-5.4/perl/agent' make[1]: *** [subdirs] Error 2 make[1]: Leaving directory `/root/net-snmp-5.4/perl' make: *** [perlmodules] Error 1 Could you please tell me the resolution of this problem. If it is due to installed perl module, how can i uninstall the old perl module? Regards, Awadhesh Kumar *****************************************************DISCLAIMER***************************************************** This message and/or attachment(s) contained here are confidential, proprietary to HUGHES SYSTIQUE and its customers. Contents may be privileged or otherwise protected by law. The information is solely intended for the entity it is addressed to. If you are not the intended recipient of this message, it is strictly prohibited to read, forward, print, retain, copy or disseminate this message or any part of it. If you have received this e-mail in error, please notify the sender immediately and delete the message. ******************************************************************************************************************** ------------------------------------------------------------------------- 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