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

This is a discussion on Re: perhaps you forgot to load "SNMP::Session"? within the SNMP Users forums, part of the Networking and Network Related category; OK, I think I have found the problem... When I try to "manually" install the Perl modules by ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-03-2008
Alex Moen
 
Posts: n/a
Default Re: perhaps you forgot to load "SNMP::Session"?

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:alexm@ndtel.com]
>> 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
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/...net-snmp-users
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:50 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0