Hi Frank,
what happens if you leave out the --ssllib and --sslinclude parameters? It is an unusual location for OpenSSL to be installed, so I guess you compiled it yourself?
It also ought to pull in libdl.so automatically, but that probably requires some magic when compiling OpenSSL.
Anyway, I believe you can work around it by setting NETLIBS in xymon-4.3.27/build/Makefile.Linux like
NETLIBS="-ldl"
Regards,
Henrik
On 21-07-2017 16:26, Frank wrote:
I am re-sending this from my member account.
Hi everyone,
We are changing all our SSL web sites on windows over to tls1.2. So I have upgraded the openssl on the xymon server.
I have run into an ssl issue compiling xymon-4.3.27 and xymon-4.3.28openssl is in /usr/share/openssl-1.0.21
./configure.server --ssllib /usr/share/openssl-1.0.21/lib --sslinclude /usr/share/openssl-1.0.21/include
This is my error:
Checking for OpenSSL ... Compiling with SSL library works OK /usr/share/openssl-1.0.21/lib/libcrypto.a(dso_dlfcn.o): In function
dlfcn_globallookup': dso_dlfcn.c:(.text+0x1a): undefined reference todlopen' dso_dlfcn.c:(.text+0x31): undefined reference todlsym' dso_dlfcn.c:(.text+0x3b): undefined reference todlclose' /usr/share/openssl-1.0.21/lib/libcrypto.a(dso_dlfcn.o): In functiondlfcn_pathbyaddr': dso_dlfcn.c:(.text+0x81): undefined reference todladdr' dso_dlfcn.c:(.text+0xf8): undefined reference todlerror' /usr/share/openssl-1.0.21/lib/libcrypto.a(dso_dlfcn.o): In functiondlfcn_bind_func': dso_dlfcn.c:(.text+0x3fe): undefined reference todlsym' dso_dlfcn.c:(.text+0x46f): undefined reference todlerror' /usr/share/openssl-1.0.21/lib/libcrypto.a(dso_dlfcn.o): In functiondlfcn_bind_var': dso_dlfcn.c:(.text+0x4ee): undefined reference todlsym' dso_dlfcn.c:(.text+0x571): undefined reference todlerror' /usr/share/openssl-1.0.21/lib/libcrypto.a(dso_dlfcn.o): In functiondlfcn_unload': dso_dlfcn.c:(.text+0x5d7): undefined reference todlclose' /usr/share/openssl-1.0.21/lib/libcrypto.a(dso_dlfcn.o): In functiondlfcn_load': dso_dlfcn.c:(.text+0x697): undefined reference todlopen' dso_dlfcn.c:(.text+0x6f5): undefined reference todlclose' dso_dlfcn.c:(.text+0x72c): undefined reference to `dlerror' collect2: ld returned 1 exit status make: *** [test-link] Error 1 Warning: Cannot link with SSL library OpenSSL include- or library-files not found.