perl module and shared library on AIX
brisse <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
I am trying to build the perl snmp module on AIX 5.3.
Is it possible? It seems that this module needs
shared-library enable. But in the README.aix it is
recommended to use the option --disable-shared
So I did:
./configure --disable-shared CC=xlc_r
make
make install
without problem
but then
cd perl
perl Makefile.PL
make
... and I got the following error:
ILD_RUN_PATH="" ld -bhalt:4 -bM:SRE
-bI:/usr/opt/perl5/lib/5.8.2/aix-thread-multi/CORE/perl.exp
-bE:TrapReceiver.exp -bnoentry -lpthreads -lc_r
TrapReceiver.o -o
../blib/arch/auto/NetSNMP/TrapReceiver/TrapReceiver.so
ld: 0711-317 ERROR: Undefined symbol:
.netsnmp_add_global_traphandler
ld: 0711-317 ERROR: Undefined symbol:
.netsnmp_add_default_traphandler
ld: 0711-317 ERROR: Undefined symbol: .snmp_parse_oid
ld: 0711-317 ERROR: Undefined symbol: .snmp_log
ld: 0711-317 ERROR: Undefined symbol:
.netsnmp_add_traphandler
ld: 0711-317 ERROR: Undefined symbol:
.convert_v1pdu_to_v2
ld: 0711-317 ERROR: Undefined symbol: .count_varbinds
ld: 0711-317 ERROR: Undefined symbol:
.sprint_realloc_by_type
ld: 0711-345 Use the -bloadmap or -bnoquiet option to
obtain more information.
make: ***
[../blib/arch/auto/NetSNMP/TrapReceiver/TrapReceiver.so]
Error 8
I guess it's because I don't have shared libraries
enable but it was required to disable them.
Any ideas??
___________________________________________________________________________
Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs exceptionnels pour appeler la France et l'international.
Téléchargez sur http://fr.messenger.yahoo.com
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
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