Open bionexit opened 4 years ago
Hi, thanks for reporting this.
Can you confirm that this still exists on NRPE 4.0.3? Also, which distribution/version/architecture are you running on this system?
Hello,
i have the same problem on nrpe 4.0.3 👍 application CSWlibssl-dev libssl_dev - Openssl 1.0 development support files application CSWlibssl1-0-0 libssl1_0_0 - Openssl 1.0 runtime libraries application SMCossl openssl
./configure --with-nrpe-user=nrpe --with-nrpe-group=nrpe --with-nagios-user=nrpe --with-nagios-group=nrpe --enable-command-args --enable-ssl
1038# make all
gcc -g -O2 -DHAVE_CONFIG_H -I ../include -I ./../include -o nrpe ./nrpe.c ./utils.c ./acl.c -lssl -lcrypto -lnsl -lsocket
./nrpe.c: In function init_ssl': ./nrpe.c:406: error:
SSL_OP_NO_TLSv1_1' undeclared (first use in this function)
./nrpe.c:406: error: (Each undeclared identifier is reported only once
./nrpe.c:406: error: for each function it appears in.)
*** Error code 1
make: Fatal error: Command failed for target `nrpe'
Oracle Solaris 10 9/10 s10s_u9wos_14a SPARC
NRPE version 4.0.1
[root@network-minitor nrpe-master]# make all cd ./src/; make make[1]: Entering directory
/tmp/nrpe-master/src' gcc -g -O2 -I/usr/include/krb5 -DHAVE_CONFIG_H -I ../include -I ./../include -o nrpe ./nrpe.c ./utils.c ./acl.c -lssl -lcrypto -lnsl /tmp/ccVDSatv.o: In function
init_ssl': /tmp/nrpe-master/src/./nrpe.c:285: undefined reference toOPENSSL_init_ssl' /tmp/nrpe-master/src/./nrpe.c:286: undefined reference to
OPENSSL_init_ssl' /tmp/nrpe-master/src/./nrpe.c:291: undefined reference toTLS_server_method' /tmp/nrpe-master/src/./nrpe.c:314: undefined reference to
TLS_method' /tmp/nrpe-master/src/./nrpe.c:421: undefined reference toSSL_CTX_set_options' /tmp/ccVDSatv.o: In function
get_dh2048': /tmp/nrpe-master/src/./../include/dh.h:42: undefined reference toDH_set0_pqg' collect2: ld RETURE 1 make[1]: *** [nrpe] ERROR 1 make[1]: Leaving directory
/tmp/nrpe-master/src' make: *** [all] ERROR 2[root@network-minitor nrpe-master]# yum list installed | grep openssl openssl.x86_64 1.0.1e-58.el6_10 openssl-devel.x86_64 1.0.1e-58.el6_10