I'm trying to install nrpe-4.0.3 from source code on RHEL9 and install . Also I'm facing similiar issue in Ubuntu 22.04 as well.
openssl-3.0.1-43.el9_0.x86_64
./configure --enable-command-args
*** Generating DH Parameters for SSL/TLS ***
dhparam: Unknown option: -C
dhparam: Use -help for summary.
checking for perl... /bin/perl
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating nrpe.spec
config.status: creating uninstall
config.status: creating sample-config/nrpe.cfg
config.status: creating startup/bsd-init
config.status: creating startup/debian-init
config.status: creating startup/default-init
config.status: creating startup/default-inetd
config.status: creating startup/default-service
config.status: creating startup/default-socket
config.status: creating startup/default-socket-svc
config.status: creating startup/default-xinetd
config.status: creating startup/mac-init.plist
config.status: creating startup/mac-inetd.plist
config.status: creating startup/newbsd-init
config.status: creating startup/openbsd-init
config.status: creating startup/openrc-conf
config.status: creating startup/openrc-init
config.status: creating startup/solaris-init.xml
config.status: creating startup/solaris-inetd.xml
config.status: creating startup/tmpfile.conf
config.status: creating startup/upstart-init
config.status: creating startup/rh-upstart-init
config.status: creating include/common.h
config.status: creating include/config.h
config.status: include/config.h is unchanged
*** Configuration summary for nrpe 4.0.3 2020-04-28 ***:
General Options:
-------------------------
NRPE port: 5666
NRPE user: nagios
NRPE group: nagios
Nagios user: nagios
Nagios group: nagios
Review the options above for accuracy. If they look okay,
type 'make all' to compile the NRPE daemon and client
or type 'make' to get a list of make options.
In the make command
make all
cd ./src/; make
make[1]: Entering directory '/mnt/nrpe-install/nrpe-4.0.3/src'
gcc -g -O2 -DHAVE_CONFIG_H -I ../include -I ./../include -o nrpe ./nrpe.c ./utils.c ./acl.c -lssl -lcrypto
./nrpe.c: In function ‘init_ssl’:
./nrpe.c:287:9: warning: ‘ENGINE_load_builtin_engines’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
287 | ENGINE_load_builtin_engines();
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../include/common.h:36,
In file included from ../include/common.h:34,
from ./nrpe.c:38:
/usr/include/openssl/err.h:413:15: note: declared here
413 | unsigned long ERR_get_error_line_data(const char **file, int *line,
| ^~~~~~~~~~~~~~~~~~~~~~~
/bin/ld: /tmp/ccK5INkY.o: in function `init_ssl':
/mnt/nrpe-install/nrpe-4.0.3/src/./nrpe.c:474: undefined reference to `get_dh2048'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:48: nrpe] Error 1
make[1]: Leaving directory '/mnt/nrpe-install/nrpe-4.0.3/src'
make: *** [Makefile:65: all] Error 2
Hello,
I'm trying to install nrpe-4.0.3 from source code on RHEL9 and install . Also I'm facing similiar issue in Ubuntu 22.04 as well.
openssl-3.0.1-43.el9_0.x86_64
In the make command
Please let me know
Thanks Jay