All;
I am trying to upgrade nrpe to version 3.1 on CentOS 5 systems. I know, I know, CentOS 5 is ancient, but unfortunately, I cannot upgrade them. I upgraded openssl to version 1.0.2.l. First I do a "configure --enable-command-args --with-ssl=/usr/local/ssl", then a "make nrpe". I am getting the following errors. Any help at all would be greatly appreciated.
Thanks;
FSD
cd ./src/; make
make[1]: Entering directory `/usr/local/src/nrpe-3.1.0/src'
gcc -g -O2 -I/usr/include/krb5 -I/usr/kerberos/include -DHAVE_CONFIG_H -I ../include -I ./../include -o nrpe ./nrpe.c ./utils.c ./acl.c -L/usr/kerberos/lib64 -lssl -lcrypto -ldl -lz -lnsl -lwrap
./nrpe.c: In function 'init_ssl':
./nrpe.c:316: warning: passing argument 1 of 'SSL_CTX_new' discards qualifiers from pointer target type
./nrpe.c:362: error: 'SSL_OP_NO_TLSv1_1' undeclared (first use in this function)
./nrpe.c:362: error: (Each undeclared identifier is reported only once
./nrpe.c:362: error: for each function it appears in.)
./utils.c: In function 'open_log_file':
./utils.c:479: error: 'O_NOFOLLOW' undeclared (first use in this function)
./utils.c:479: error: (Each undeclared identifier is reported only once
./utils.c:479: error: for each function it appears in.)
make[1]: *** [nrpe] Error 1
make[1]: Leaving directory `/usr/local/src/nrpe-3.1.0/src'
make: *** [nrpe] Error 2
Problem compiling NRPE 3.1 on CentOS
- tacolover101
- Posts: 432
- Joined: Mon Apr 10, 2017 11:55 am
Re: Problem compiling NRPE 3.1 on CentOS
you may want to post the issue here for reference - https://github.com/NagiosEnterprises/nrpe/issues
Re: Problem compiling NRPE 3.1 on CentOS
Thanks for the assist, @tacolover101!
Former Nagios employee