Page 1 of 1

make all for nrpe issues

Posted: Mon May 11, 2020 4:48 pm
by jtvdw
Hi,

I'm installing nagios on a server, when trying to run "make all" under nrpe I get this error message:
root@fbwh01 /web/sites/monitor.liquorice.co.za/nrpe-3.2.1 # make all
cd ./src/; make
make[1]: Entering directory '/web/sites/monitor.liquorice.co.za/nrpe-3.2.1/src'
gcc -g -O2 -I/usr/include/openssl -DHAVE_CONFIG_H -I ../include -I ./../include -o nrpe ./nrpe.c ./utils.c ./acl.c -L/usr/lib/x86_64-linux-gnu -lssl -lcrypto -lnsl
In file included from ./nrpe.c:45:0:
./../include/dh.h: In function ‘get_dh2048’:
./../include/dh.h:36:4: error: dereferencing pointer to incomplete type ‘DH {aka struct dh_st}’
dh->p=BN_bin2bn(dh2048_p,sizeof(dh2048_p),NULL);
^
Makefile:48: recipe for target 'nrpe' failed
make[1]: *** [nrpe] Error 1
make[1]: Leaving directory '/web/sites/monitor.liquorice.co.za/nrpe-3.2.1/src'
Makefile:65: recipe for target 'all' failed
make: *** [all] Error 2
What can I do to fix this, any helpw ould be appreciated.

Thanks.

Re: make all for nrpe issues

Posted: Tue May 12, 2020 4:39 pm
by ssax
Are you on Debian Stretch? If not, what OS/version?

https://github.com/NagiosEnterprises/nrpe/issues/93

What version of openssl are you running?

Code: Select all

openssl version

Re: make all for nrpe issues

Posted: Thu May 14, 2020 11:37 am
by jtvdw
Hi,

Thanks for the reply, please see below:

root@server# openssl version
OpenSSL 1.0.2g 1 Mar 2016

root@server# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.1 LTS
Release: 16.04
Codename: xenial

I will check out the link and please let me know if you need more info.

Thanks.