Menu

#10 Extension of shared Library depend on OS

open
nobody
None
5
2008-05-06
2008-05-06
No

The Problem first appears in NRPE 2.12, older Versions
working good:

On AIX configuring:

./configure --with-openssl=/usr/local --with-ssl-lib=/usr/local/ssl/lib CFLAGS=-L=/usr/lib

becoming

checking for SSL libraries… configure: error: Cannot find ssl libraries

Korrektur in configure:
+6673 if test -f "$dir/libssl.a"; then

The default Value *.so is only valid on LINUX and Solaris. On HP-UX you must say *.sl

Set it by this sample skript:

BS=`uname`
case ${BS} in
Linux)
EXT=so
;;
HP-UX)
EXT=sl
;;
SunOS)
EXT=so
;;
AIX)
EXT=a
;;
*)
EXT=so
echo "Not Supported Operating System"
;;
esac

and

if test -f "$dir/libssl.$EXT"; then

73 de DF7BE

Discussion


Log in to post a comment.

MongoDB Logo MongoDB