Xymon Mailing List Archive search

Problems compiling ssl on RHEL7

list Jairo Manso Melero
Wed, 23 Oct 2019 12:57:47 +0000
Message-Id: <user-f6c6dd84437f@xymon.invalid>

I'm trying to update our xymon server to RHEL7 but I'm having problems to compile with SSL.


Checking for OpenSSL ...
Compiling with SSL library works OK
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_globallookup':
dso_dlfcn.c:(.text+0x11): undefined reference to `dlopen'
dso_dlfcn.c:(.text+0x24): undefined reference to `dlsym'
dso_dlfcn.c:(.text+0x2f): undefined reference to `dlclose'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_bind_func':
dso_dlfcn.c:(.text+0x344): undefined reference to `dlsym'
dso_dlfcn.c:(.text+0x3eb): undefined reference to `dlerror'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_bind_var':
dso_dlfcn.c:(.text+0x464): undefined reference to `dlsym'
dso_dlfcn.c:(.text+0x50b): undefined reference to `dlerror'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_load':
dso_dlfcn.c:(.text+0x579): undefined reference to `dlopen'
dso_dlfcn.c:(.text+0x5db): undefined reference to `dlclose'
dso_dlfcn.c:(.text+0x613): undefined reference to `dlerror'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_pathbyaddr':
dso_dlfcn.c:(.text+0x69f): undefined reference to `dladdr'
dso_dlfcn.c:(.text+0x701): undefined reference to `dlerror'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_unload':
dso_dlfcn.c:(.text+0x752): undefined reference to `dlclose'
collect2: error: ld returned 1 exit status
make: *** [test-link] Error 1
Warning: Cannot link with SSL library
OpenSSL include- or library-files not found.
Although you can use Xymon without OpenSSL, you will not
be able to run network tests of SSL-enabled services, e.g. https.
So installing OpenSSL is recommended.
OpenSSL can be found at http://www.openssl.org/

If you have OpenSSL installed, use the "--sslinclude DIR" and "--ssllib DIR"
options to configure to specify where they are.

Continuing with SSL support disabled.

# rpm -qa | grep openssl
openssl-devel-1.0.2k-16.el7.x86_64
xmlsec1-openssl-1.2.20-7.el7_4.x86_64
openssl-devel-1.0.2k-16.el7.i686
openssl-libs-1.0.2k-16.el7.i686
openssl-1.0.2k-16.el7.x86_64
openssl-libs-1.0.2k-16.el7.x86_64

Best regards.


Jairo Manso Melero
Analista de Sistemas
Tecnolog?as de la Informaci?n
Tel.:   +XX XXX XXX XXX
Fax:   +XX XXX XXX XXX
user-d755cfe93724@xymon.invalid<mailto:user-d755cfe93724@xymon.invalid>

SOCIEDAD ESTATAL LOTER?AS Y APUESTAS DEL ESTADO, S.M.E, S.A.
Calle Manuel Tovar 13
28034 MADRID
[lae policromativo horizontal]


**********************************************************************

La informaci?n contenida en este mensaje de correo electr?nico es CONFIDENCIAL y puede ser secreto profesional. Este mensaje se dirige exclusivamente a su(s) destinatario(s). Si Vd. no es uno de los destinatarios deseados, se le previene que cualquier lectura, divulgaci?n, copia o distribuci?n est? prohibida conforme a la legislaci?n vigente. Asimismo, cualquier acci?n tomada o dejada de tomar como consecuencia de la informaci?n contenida en este mensaje queda prohibida y puede ser ilegal. Si ha recibido este mensaje por error, le rogamos que nos lo comunique inmediatamente por esta misma v?a y que proceda a destruir todas las copias del mismo.


El correo electr?nico de Internet no garantiza la confidencialidad, la integridad o la entrega correcta y en plazo de los mensajes.

SELAE no acepta ninguna responsabilidad por estas circunstancias.


The information in this email is CONFIDENTIAL and may be privileged. This message is intended solely for the addressee(s). If you are not one of the intended recipients, you are advised that any reading, disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Should you have received this message in error, please immediately notify us via e-mail and delete all copies of it.


Internet e-mail guarantees neither the confidentiality, the integrity nor the timely and proper receipt of the messages sent. SELAE does not accept any liability for those circumstances.

**********************************************************************