nrpe install on solaris 5.8

Lori Adams ladams at cloudmark.com
Wed Oct 12 20:07:27 CEST 2005


Thank you all for your quick responses.

 

Todd's answer ended up working.

 

First I ran

# crle

which output:

Command line:

  crle -c /var/ld/ld.config -l
/usr/lib:/usr/lib/secure:/usr/local/lib:/usr/local/BerkeleyDB.3.3/lib

 

So I ran that, and added /usr/local/ssl/lib to the end;

# crle -c /var/ld/ld.config -l
/usr/lib:/usr/lib/secure:/usr/local/lib:/usr/local/BerkeleyDB.3.3/lib:/u
sr/local/ssl/lib

 

Recompiled, and it worked wonderfully.

 

Thanks again.

 

-Lori

 

 

________________________________

From: Todd Barbera [mailto:todd_barbera at wgbh.org] 
Sent: Wednesday, October 12, 2005 10:29 AM
To: Lori Adams; nagios-users at lists.sourceforge.net
Subject: RE: [Nagios-users] nrpe install on solaris 5.8

 

Hi Lori,

 

Try setting your LD_LIBRARY_PATH. You can use "crle" to do so. I.e., 

 

crle -l /usr/lib:/usr/local/lib:/usr/local/ssl/lib:/usr/ccs/lib

 

Todd

 

-----Original Message-----
From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Lori
Adams
Sent: Wednesday, October 12, 2005 1:18 PM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] nrpe install on solaris 5.8

 

When attempting to run nrpe-2.2 after installing on a solaris 5.8 box, I
receive an error:

# /srv/nagios_nrpe/bin/nrpe -c /srv/nagios_nrpe/etc/nrpe.cfg -d

ld.so.1: /srv/nagios_nrpe/bin/nrpe: fatal: libssl.so.0.9.6: open failed:
No such file or directory

Killed

 

Here is the information I've gathered about the machine.  And some
futile attempts at trying to fix the issue.

 

# uname -a

SunOS 5.8 Generic_108528-13 sun4u sparc SUNW,UltraAX-i2 Solaris

 

I have nrpe-2.2 downloaded from Andreas Ericsson's site.  

 

Once I started receiving the error, I went to find libssl.so.0.9.6:

# find / -name libssl.so.0.9.6

/usr/local/ssl/lib/libssl.so.0.9.6

 

So I am now running the configure script with these arguments.

# ./configure --enable-command-args --with-ssl-lib=/usr/local/ssl/lib/
--with-ssl-inc=/usr/local/ssl/include/

 

The compile runs with no errors.

I then do a "make all"

 

# make all

cd ./src/; make ; cd ..

make[1]: Entering directory `/export/spare/srv/tmp/nrpe-2.2/src'

gcc -g -O2 -I/usr/local/ssl/include/openssl -I/usr/local/ssl/include
-DHAVE_CONFIG_H -o nrpe nrpe.c utils.c -L/usr/local/ssl/lib/  -lssl
-lcrypt

o -lnsl -lsocket

gcc -g -O2 -I/usr/local/ssl/include/openssl -I/usr/local/ssl/include
-DHAVE_CONFIG_H -o check_nrpe check_nrpe.c utils.c check_utils.c
-L/usr/loc

al/ssl/lib/  -lssl -lcrypto -lnsl -lsocket

make[1]: Leaving directory `/export/spare/srv/tmp/nrpe-2.2/src'

 

I don't see any errors there.

 

I then cp the nrpe binary to the dir that I want to run it in along with
the nrpe.cfg file that works on other solaris boxen.

I then attempt to run it and get the aforementioned error.

 

# /srv/nagios_nrpe/bin/nrpe -c /srv/nagios_nrpe/etc/nrpe.cfg -d

ld.so.1: /srv/nagios_nrpe/bin/nrpe: fatal: libssl.so.0.9.6: open failed:
No such file or directory

Killed

 

I think that I am missing something fundamental, but I can't quite get
my finger on it.  Does anyone have any thoughts?


Thanks.

-Lori

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20051012/357d9bac/attachment.html>


More information about the Users mailing list