Nrpe & suse x86_64


#1

I’m trying to compile nrpe on SLES 8.1 x86_64 (Opteron) and get the following:

opteron1:~/build/nrpe-2.5.1 # make all
cd ./src/; make ; cd …
make[1]: Entering directory /root/build/nrpe-2.5.1/src' gcc -g -O2 -I/usr/include/openssl -I/usr/include -DHAVE_CONFIG_H -o nrpe nrpe.c utils.c -L/usr/lib -lssl -lcrypto -lnsl -lwrap /usr/lib64/gcc-lib/x86_64-suse-linux/3.2.2/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib/libssl.so when searching for -lssl /usr/lib64/gcc-lib/x86_64-suse-linux/3.2.2/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib/libcrypto.so when searching for -lcrypto /usr/lib64/gcc-lib/x86_64-suse-linux/3.2.2/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib/libnsl.so when searching for -lnsl /usr/lib64/gcc-lib/x86_64-suse-linux/3.2.2/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib/libnsl.a when searching for -lnsl /usr/lib64/gcc-lib/x86_64-suse-linux/3.2.2/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /lib/libc.so.6 when searching for /lib/libc.so.6 /usr/lib64/gcc-lib/x86_64-suse-linux/3.2.2/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /lib/libc.so.6 when searching for /lib/libc.so.6 /usr/lib64/gcc-lib/x86_64-suse-linux/3.2.2/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /lib/libc.so.6 when searching for /lib/libc.so.6 /usr/lib64/gcc-lib/x86_64-suse-linux/3.2.2/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /lib/libc.so.6 when searching for /lib/libc.so.6 /usr/lib64/gcc-lib/x86_64-suse-linux/3.2.2/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /lib/libc.so.6 when searching for /lib/libc.so.6 /usr/lib64/gcc-lib/x86_64-suse-linux/3.2.2/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /lib/libc.so.6 when searching for /lib/libc.so.6 /usr/lib64/gcc-lib/x86_64-suse-linux/3.2.2/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /lib/libc.so.6 when searching for /lib/libc.so.6 /usr/lib64/gcc-lib/x86_64-suse-linux/3.2.2/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /lib/libc.so.6 when searching for /lib/libc.so.6 /usr/lib64/gcc-lib/x86_64-suse-linux/3.2.2/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /lib/libc.so.6 when searching for /lib/libc.so.6 /usr/lib64/gcc-lib/x86_64-suse-linux/3.2.2/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /lib/libc.so.6 when searching for /lib/libc.so.6 /usr/lib64/gcc-lib/x86_64-suse-linux/3.2.2/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /lib/libc.so.6 when searching for /lib/libc.so.6 /usr/lib64/gcc-lib/x86_64-suse-linux/3.2.2/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /lib/libc.so.6 when searching for /lib/libc.so.6 /usr/lib64/gcc-lib/x86_64-suse-linux/3.2.2/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /lib/libc.so.6 when searching for /lib/libc.so.6 /usr/lib64/gcc-lib/x86_64-suse-linux/3.2.2/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /lib/libc.so.6 when searching for /lib/libc.so.6 /usr/lib64/gcc-lib/x86_64-suse-linux/3.2.2/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /lib/libc.so.6 when searching for /lib/libc.so.6 /usr/lib64/gcc-lib/x86_64-suse-linux/3.2.2/../../../../x86_64-suse-linux/bin/ld: cannot find /lib/libc.so.6 collect2: ld returned 1 exit status make[1]: *** [nrpe] Error 1 make[1]: Leaving directory/root/build/nrpe-2.5.1/src’

Any ideas? I can’t find any reference on the net.


#2

Per the README.SSL
"As of this time you will need to have the latest greatest version of
OpenSSL (tested against version 0.9.7a) since not all versions have
the AES algorythm in them."
Is that the version you have?


#3

No that’s not it at all. I modified the Makefile in the src directory . The LDFLAGS needed to be changed to /usr/lib64 rahter than /usr/lib

This was not required on a similar machine running SLES9 x86_64, only SLES8.1 x86_64.