net-snmp agent on solaris 8

How do I configure netsnmp agent on Solaris 8.  when I tried to configure I got the following error

# ./S78net-snmp start
ld.so.1: /usr/local/sbin/snmpd: fatal: libcrypto.so.0.9.7: open failed: No such file or directory
./S78net-snmp[14]: 13500 Killed

Pls help as its very urgent
rojy_20Asked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
bpeterseConnect With a Mentor Commented:
You need to install openssl on your machine as it's a dependency for netsnmp.  
First verify it's not installed with:

pkginfo -l|grep -i ssl

If that yields nothing, try installing that package and see if that corrects the problem.  You can download it here:

http://www.sunfreeware.com/indexsparc8.html

If it still complains, check your LD_LIBRARY_PATH env variable - it should include the path to the above file.
0
 
rojy_20Author Commented:
OpenSSL has been installed already.  I searched for this file in the that path and found that it was missing.  Just by fluke I thot I would rename a file that looked similar to the one that couldnot be found ( libcrypto.so.0.9.7) and surpisingly it worked !!!
We have other servers as well and what I noticed is that everyone of them had different issues.

thanks for your help bpeterse.  
0
 
bpeterseCommented:
>rename a file that looked similar to the one that couldnot be found ( libcrypto.so.0.9.7) and surpisingly it worked !!!<

I would not recommend doing such things if you're trying to maintain a secure environment/comm channels.  That could come back to bite you in your behind in a BIG way in the future.  And I'm amazed it worked....
0
 
rojy_20Author Commented:
Even I donot like to do these things.  
I downloaded this package from Sunfreeware.  Tried it on another Sun machine and faced a similar problem.  Searched for the file and located   libcrypto.so.0.9.8 in the ssl/lib folder.  Renamed it to libcrypto.so.0.9.7  I believe this is a bug in the package.. correct me if I am wrong.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.