[Xymon] Problems compiling ssl on RHEL7

Jairo Manso Melero jairo.manso at selae.es
Wed Oct 23 16:25:23 CEST 2019


Hi again.

Done. Xymon 4.3.30 working on RHEL 7.6.

Linux 3.10.0-957.5.1.el7.x86_64 #1 SMP Wed Dec 19 10:46:58 EST 2018 x86_64 x86_64 x86_64 GNU/Linux

Installed from source:
fping-3.10-4.el7.x86_64
libtirpc-devel-0.2.4-0.15.el7.x86_64

Installed from RHEL repos:
rrdtool-devel-1.4.8-9.el7.x86_64
rrdtool-perl-1.4.8-9.el7.x86_64
rrdtool-1.4.8-9.el7.x86_64
c-ares-1.10.0-3.el7.x86_64
c-ares-devel-1.10.0-3.el7.x86_64
openssl-libs-1.0.2k-16.el7.x86_64
openssl-devel-1.0.2k-16.el7.x86_64
openssl-1.0.2k-16.el7.x86_64
libtirpc-0.2.4-0.15.el7.x86_64

Best regards.

De: Jairo Manso Melero
Enviado el: miércoles, 23 de octubre de 2019 14:58
Para: 'xymon at xymon.com' <xymon at xymon.com>
Asunto: Problems compiling ssl on RHEL7

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.:   +34 913 489 241
Fax:   +34 913 489 113
jairo.manso at selae.es<mailto:jairo.manso at selae.es>

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.

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20191023/1b450469/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 8786 bytes
Desc: image001.png
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20191023/1b450469/attachment.png>


More information about the Xymon mailing list