[Snmptt-developer] problems with RHEL5/Perl 5.8.8
Brought to you by:
alex_b
From: Mark S. <Mar...@hp...> - 2008-04-07 12:30:49
|
I just did a brand new install of net-snmp-5.4.1.tar.gz and snmptt_1.2.tgz on a rhel5.1 system. When I try to start snmptt, I get the following error: [root@cag-dl585-01 net-snmp-5.4.1]# service snmptt start Starting snmptt: Config file /usr/local/etc/snmp/snmptt.ini loaded Can't load '/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/NetSNMP/default_store/default_store.so' for module NetSNMP::default_store: libnetsnmp.so.15: cannot open shared object file: No such file or directory at /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/DynaLoader.pm line 230. at /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/SNMP.pm line 16 Compilation failed in require at /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/SNMP.pm line 16. BEGIN failed--compilation aborted at /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/SNMP.pm line 16. Compilation failed in require at (eval 6) line 1. Could not load the Perl module SNMP! If net_snmp_perl_enable is enabled then the SNMP module is required. Please see snmptt.html for system requirements. Note: SNMPTT uses the Net-SNMP package's SNMP module, NOT the CPAN Net::SNMP module! However, SNMP.pm is there. It sounds like the message is saying it can't find libnetsnmp.so but it is: [root@cag-dl585-01 net-snmp-5.4.1]# find / | grep netsnmp.so /usr/local/net-snmp-5.4.1/snmplib/.libs/libnetsnmp.so.15 /usr/local/net-snmp-5.4.1/snmplib/.libs/libnetsnmp.so.15.1.0 /usr/local/net-snmp-5.4.1/snmplib/.libs/libnetsnmp.so /usr/local/lib/libnetsnmp.so.15 /usr/local/lib/libnetsnmp.so.15.1.0 /usr/local/lib/libnetsnmp.so /usr/lib64/libnetsnmp.so.10 /usr/lib64/libnetsnmp.so.10.0.1 /usr/lib/libnetsnmp.so.10 /usr/lib/libnetsnmp.so.10.0.1 I created symlinks to libnetsnmp.so.15 in /usr/lib and /usr/lib64 (just to be safe) and it did manage to start. Is this a problem with the installation on libnetsnmp? -mark |