Compiling NRPE on Solaris 9

Jim Mozley jim.mozley at exponential-e.com
Tue Nov 25 12:02:35 CET 2003


Monte Riding wrote:

> I am trying to compile NRPE-2.0 on a Solaris 9, and am getting the 
> error below:
>
> # ./check_nrpe
>
> ld.so.1: ./check_nrpe: fatal: libssl.so.0.9.7: open failed: No such 
> file or directory
>
> Killed
>
> # ldd ./check_nrpe
>
> libssl.so.0.9.7 => (file not found)
>
> libcrypto.so.0.9.7 => (file not found)
>
> libnsl.so.1 => /usr/lib/libnsl.so.1
>
> libsocket.so.1 => /usr/lib/libsocket.so.1
>
> libc.so.1 => /usr/lib/libc.so.1
>
> libdl.so.1 => /usr/lib/libdl.so.1
>
> libmp.so.2 => /usr/lib/libmp.so.2
>
> /usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1
>
> The two ‘file not found’ files referenced above are on my system.
>
> I am using the OpenSSL 0.9.7b and gcc 3.3 packages from 
> sunfreeware.com. I know this is an SSL issue, because when I compile 
> using ‘./configure –disable-ssl’ it runs fine.
>
> Searched on the net for ‘fatal: libssl.so.0.9.7: open failed’ and 
> found references to compiling OpenSSL using the ‘shared’ option, have 
> tried recompiling OpenSSL and it fails, and I’m having a difficult 
> time determining why. I have even restaged a workstation with Solaris 
> 9, the recommended patches, OpenSSL 0.9.7b and gcc 3.3, I have the 
> same issue.
>
> Has anyone successfully compiled NRPE for Solaris 9, and if so, how 
> was it done (e.g. any ./configure options) and what SSL & gcc versions 
> were used?
>
> Thx J
>
> monte
>
It might be worth trying to use the crle command on Solaris. I've had a 
problem with another application where using this was the only way it 
would work (using LD_LIBRARY_PATH, --with-libs, etc. didn't work).

For instance if your libs are in /usr/local/lib try:

crle -u -l /usr/local/lib

HTH,

Jim


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list