Re: perhaps you forgot to load "SNMP::Session"?

Alex Moen <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
OK, I think I have found the problem...

When I try to "manually" install the Perl modules by entering the net-snmp-5.4.1/perl directory and running the "perl Makefile.PL/make/make test/make 
install" procedure, I run into the following error when I run "make test":

Can't load '../blib/arch/auto/NetSNMP/default_store/default_store.so' for module NetSNMP::default_store: libcrypto.so.6: cannot open shared object 
file: No such file or directory at /usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line 230.
  at test.pl line 97
Compilation failed in require at test.pl line 97.
BEGIN failed--compilation aborted at test.pl line 97.
not ok 1
make[1]: *** [test_dynamic] Error 255
make[1]: Leaving directory `/usr/local/source/net-snmp-5.4.1/perl/default_store'
make: *** [test] Error 2

Looks like my libcrypto library is too old.  I have:

/lib/libcrypto.so.0.9.7a
/lib/libcrypto.so.4
/usr/lib/libcrypto.a
/usr/lib/libcrypto.so

on the system.  So, I can either upgrade libcrypto (brrrr) or downgrade to an older version of NetSNMP... also brrr.

I have tried the yum update process on another Centos 4.3 box, and libcrypto is not upgraded from .4.

Suggestions?  Comments?  Other options?

Thanks,

Alex



Mike Ayers wrote:
>> From: Alex Moen [mailto:[email protected]] 
>> Sent: Friday, December 28, 2007 6:45 AM
> 
>> Now, 3 questions:
>> 1. Should I uninstall (-e) the Net::SNMP stuff I have already 
>> installed before compiling and installing Net-SNMP?
> 
> 	I don't think that will be necessary.
> 
>> 2. Any particular version of Net-SNMP suggested?
> 
> 	You *must* use the same version of the Net-SNMP perl module as your master agent.  As always, latest stable (5.4.1) is suggested.
> 
>> 2. Will this affect MRTG? (I think it will not... MRTG seems 
>> to be self-contained, but the question bears asking anyway.)
> 
> 	I'm not sure, but I doubt it.  SNMP "client"[1] code is usually compiled in.
> 
>> Dave Shield wrote:
> 
>>> I'm not familiar with CentOS, but assuming it's a reasonably
>>> standard Linux distribution, I would expect it to have the 'locate'
>>> command.   What does
> 
> 	CentOS is a popular RedHat derivative.
> 
> 
> 	HTH,
> 
> Mike

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.