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.28
openssl 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 to `dlopen'
dso_dlfcn.c:(.text+0x31): undefined reference to `dlsym'
dso_dlfcn.c:(.text+0x3b): undefined reference to `dlclose'
/usr/share/openssl-1.0.21/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_pathbyaddr':
dso_dlfcn.c:(.text+0x81): undefined reference to `dladdr'
dso_dlfcn.c:(.text+0xf8): undefined reference to `dlerror'
/usr/share/openssl-1.0.21/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_bind_func':
dso_dlfcn.c:(.text+0x3fe): undefined reference to `dlsym'
dso_dlfcn.c:(.text+0x46f): undefined reference to `dlerror'
/usr/share/openssl-1.0.21/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_bind_var':
dso_dlfcn.c:(.text+0x4ee): undefined reference to `dlsym'
dso_dlfcn.c:(.text+0x571): undefined reference to `dlerror'
/usr/share/openssl-1.0.21/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_unload':
dso_dlfcn.c:(.text+0x5d7): undefined reference to `dlclose'
/usr/share/openssl-1.0.21/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_load':
dso_dlfcn.c:(.text+0x697): undefined reference to `dlopen'
dso_dlfcn.c:(.text+0x6f5): undefined reference to `dlclose'
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.