When I try to use SNMP, I get this error: DB<1> use SNMP Can't load '/usr/local/tools/perl-5.22.2/lib/site_perl/5.22.2/x86_64-linux/auto/SNMP/SNMP.so' for module SNMP: /usr/local/tools/perl-5.22.2/lib/site_perl/5.22.2/x86_64-linux/auto/SNMP/SNMP.so: undefined symbol: netsnmp_transport_config_compare at /usr/local/tools/perl-5.22.2/lib/5.22.2/x86_64-linux/DynaLoader.pm line 193.
30 min earlier . . . I had already built perl-5.22.2. Then I got the latest net-snmp source and built it using perl-5.22.2. mkdir net-snmp cd net-snmp wget https://sourceforge.net/projects/net-snmp/files/net-snmp/5.7.3/net-snmp-5.7.3.tar.gz -O net-snmp-5.7.3.tar.gz tar zxf net-snmp-5.7.3.tar.gz cd net-snmp-5.7.3 ./configure --prefix=$(CURDIR)/usr/local/tools/snmp/$(PERL_VERSION) --disable-agent --without-mibs --disable-embedded-perl --with-logfile=/var/log/tools/snmpd.log --with-sys-contact="dept_an_ops_to...@ariba.com" --with-default-snmp-version=2 --with-sys-location="unknown" --with-persistent-directory=/var/local/multimodule/var/net-snmp make make install This installed it in my git repo for net-snmp. Then I created an rpm and installed it in its official location. I didn’t realize it at first, but this also installed the perl module (SNMP) in the git repo for my perl-5.22.2 installation. I then installed perl-5.22.2 which now included SNMP. However, when I tried to use SNMP I got the above error. I scanned through the build output, but there was no glaring errors. So, where is this undefined symbol, netsnmp_transport_config_compare, coming from? Is there a pre-requisite that I’m missing? Thanks. David
------------------------------------------------------------------------------
_______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users