I've been trying to install the net:SNMP Perl module and have been having problems.  
We got Net:SNMP from SunFreeware.com and  added that package, then unpacked and tried 
to install the perl mods for net:SNMP from Sourceforge.com.    They both installed ok. 
 However, when running a perl script that calls on it we get the following errors:
________________________________begin error
Can't load '/usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/auto/SNMP/SNMP.so' for 
module SNMP: ld.so.1: /usr/local/bin/perl: fatal: relocation error: file 
/usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/auto/SNMP/SNMP.so: symbol 
usmHMACSHA1AuthProtocol: referenced symbol not found at 
/usr/local/lib/perl5/5.8.0/sun4-solaris/DynaLoader.pm line 229.
 at /usr/local/lib/perl5/site_perl/5.8.0/SNMP/Info.pm line 14
Compilation failed in require at /usr/local/lib/perl5/site_perl/5.8.0/SNMP/Info.pm 
line 14.
BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.8.0/SNMP/Info.pm 
line 14.
Compilation failed in require at test_snmp_info.pl line 5.
BEGIN failed--compilation aborted at test_snmp_info.pl line 5.
end error_____________________
SNMP.so is in that location (../auto/SNMP) however I'm not sure what the relocation 
error means.  Any ideas how to even begin troubleshooting this.  I am very versed in 
installing Solaris packages, but I am new to Perl and was following a co-workers 
advice on installing Perl modules (he knows a lot about Perl, but not a SyS Admin guru 
like I am :)  )  When we hit this he was out of ideas.  

Just to give more information, we were following the readme installation file which 
has us:
cd net-snmp/perl
perl Makefile.PL -NET-SNMP-CONFIG=sh ../../net-snmp-config -NET-SNMP-IN-SOURCE=true   
(as user)
make  (as user)
make install (as root)

No errors popped up on these 4 steps.

Thanks.  And being from California, I like the exercise in creating a California 
ballot sorter.  Maybe one day I can meet Randal and say "Good job!". (We have a mutual 
acquaintence, Ed T. )

John

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to