Commercial Support Clients: Clients with support contracts can get escalated support assistance by visiting Nagios Answer Hub. These forums are for community support services. Although we at Nagios try our best to help out on the forums here, we always give priority support to our support clients.

Fedora 36 - undefined reference to get_dh2048

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.

Fedora 36 - undefined reference to get_dh2048

Postby thefamouseric » Tue Aug 09, 2022 12:50 pm

Prior to try under Fedora 36 I have a standard build which is just edited to reflect the exact versions I am deploying

[root@tootles nagios]# ls -al
-rwxr-xr-x 1 root root 1980 Aug 9 13:14 build-client
-rwxr-xr-x 1 root root 19415040 Sep 7 2020 nagios-4.4.6.tar
-rw-r--r-- 1 root root 31457280 Aug 8 08:28 nagios-client.tar
drwxr-xr-x 15 root root 4096 Aug 9 13:15 nagios-plugins-2.3.3
-rw-r--r-- 1 root root 10823680 Mar 11 2020 nagios-plugins-2.3.3.tar
drwxrwxr-x 10 root root 4096 Aug 9 13:34 nrpe-4.0.3
-rw-r--r-- 1 root root 1208320 Aug 9 13:14 nrpe-4.0.3.tar

After hitting the error below I went back to following https://support.nagios.com/kb/article.php?id=515#Fedora

./nrpe.c: In function ‘handle_conn_ssl’
./nrpe.c:2031:25: warning: ‘ERR_get_error_line_data’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
2031 | while ((x = ERR_get_error_line_data(NULL, NULL, NULL, NULL)) != 0) {
| ^~~~~
/usr/include/openssl/err.h:413:15: note: declared here
413 | unsigned long ERR_get_error_line_data(const char **file, int *line,
| ^~~~~~~~~~~~~~~~~~~~~~~
/usr/bin/ld: /tmp/ccK7gbfK.o: in function `init_ssl':
/tmp/nrpe-nrpe-4.0.3/src/./nrpe.c:474: undefined reference to `get_dh2048'

Note: under Fedora 32-34 I have no problems.
Posts: 2
Joined: Fri Jun 12, 2015 4:44 pm

Return to Open Source Nagios Projects

Who is online

Users browsing this forum: Google [Bot] and 13 guests