xymon with tls1.2
list Frank Torontour
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. -- Regards, Frank Torontour Network Administrator user-6fe5e0128c56@xymon.invalid XXX-XXX-XXXX EXT-214 X-XXX-XXX-XXXX Ext-214 -- sysadm cronomagic.com/gemstelecom.com e-mail user-fbc5ef527f6f@xymon.invalid POWERED BY LINUX
list Henrik Størner
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.
list Josh Luthman
FYI the package over at Terabithia works with TLS 1.2 out of the box. I have an httpd that is TLS 1.2 only. http://terabithia.org/rpms/xymon/ Josh Luthman Office: XXX-XXX-XXXX Direct: XXX-XXX-XXXX XXXX Wayne St Suite XXXX Troy, OH XXXXX On Fri, Jul 21, 2017 at 10:41 AM, Henrik Størner via Xymon <xymon at xymon.com> wrote:
---------- Forwarded message ---------- From: "Henrik Størner" <user-ce4a2c883f75@xymon.invalid> To: Xymon mailinglist <xymon at xymon.com> Cc: Bcc: Date: Fri, 21 Jul 2017 16:41:50 +0200 Subject: Re: [Xymon] xymon with tls1.2
▸
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.
list Frank Torontour
Hi, I have removed the openssl that goes with the linux. That broke a bunch of stuff. So I had to put it back for now till I compile apache etc against the new ssl libraries. For now I am concentrating on xymon. The way it is xymon is "insisting" on using the old default ssl libraries.
▸
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 7/21/17 10:41, Henrik Størner via Xymon wrote: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
-- sysadm cronomagic.com/gemstelecom.com e-mail user-fbc5ef527f6f@xymon.invalid POWERED BY LINUX
list Frank Torontour
Thanks, I just had a look at your link. We are running slackware-12.1.0 32 bit. Which is why I am compiling everything. Not sure if something for centos or fedora will work.
▸
On 7/21/17 10:56, Josh Luthman wrote:FYI the package over at Terabithia works with TLS 1.2 out of the box. I have an httpd that is TLS 1.2 only. http://terabithia.org/rpms/xymon/ Josh Luthman Office: XXX-XXX-XXXX Direct: XXX-XXX-XXXX XXXX Wayne St Suite XXXX Troy, OH XXXXX On Fri, Jul 21, 2017 at 10:41 AM, Henrik Størner via Xymon <xymon at xymon.com <mailto:xymon at xymon.com>> wrote: < ---------- Forwarded message ---------- From: "Henrik Størner" <user-ce4a2c883f75@xymon.invalid <mailto:user-ce4a2c883f75@xymon.invalid>> To: Xymon mailinglist <xymon at xymon.com <mailto:xymon at xymon.com>> Cc: Bcc: Date: Fri, 21 Jul 2017 16:41:50 +0200 Subject: Re: [Xymon] xymon with tls1.2 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 <tel:XX-XX-XXXX%2016>: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.
-- sysadm cronomagic.com/gemstelecom.com e-mail user-fbc5ef527f6f@xymon.invalid POWERED BY LINUX
list Galen Johnson
From the days I worked with Slackware, I'm fairly certain there is a conversion utility. It may even have and RPM package by now. =G= From: Xymon <xymon-bounces at xymon.com> on behalf of Frank <user-fbc5ef527f6f@xymon.invalid> Sent: Friday, July 21, 2017 11:01 AM To: xymon at xymon.com Subject: Re: [Xymon] xymon with tls1.2 EXTERNAL
▸
Thanks, I just had a look at your link. We are running slackware-12.1.0 32 bit. Which is why I am compiling everything. Not sure if something for centos or fedora will work. On 7/21/17 10:56, Josh Luthman wrote: FYI the package over at Terabithia works with TLS 1.2 out of the box. I have an httpd that is TLS 1.2 only. http://terabithia.org/rpms/xymon/ Josh Luthman Office: XXX-XXX-XXXX Direct: XXX-XXX-XXXX XXXX Wayne St Suite XXXX Troy, OH XXXXX On Fri, Jul 21, 2017 at 10:41 AM, Henrik Størner via Xymon <xymon at xymon.com<mailto:xymon at xymon.com>> wrote: ---------- Forwarded message ---------- From: "Henrik Størner" <user-ce4a2c883f75@xymon.invalid<mailto:user-ce4a2c883f75@xymon.invalid>> To: Xymon mailinglist <xymon at xymon.com<mailto:xymon at xymon.com>> Cc: Bcc: Date: Fri, 21 Jul 2017 16:41:50 +0200 Subject: Re: [Xymon] xymon with tls1.2 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<tel:XX-XX-XXXX%2016>: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. -- sysadm cronomagic.com/gemstelecom.com
e-mail user-fbc5ef527f6f@xymon.invalid<mailto:user-fbc5ef527f6f@xymon.invalid>
POWERED BY LINUX
list Frank Torontour
Hi, This did not work. It still uses the default system openssl.
▸
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"
On 7/21/17 10:41, Henrik Størner via Xymon wrote: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"
-- sysadm cronomagic.com/gemstelecom.com e-mail user-fbc5ef527f6f@xymon.invalid POWERED BY LINUX
list Frank Torontour
Good thinking. Ok I have converted it to a tgz file and installed it. I am now working on copying the config (hosts etc) from the running version to this one.
▸
On 7/21/17 11:12, Galen Johnson wrote:From the days I worked with Slackware, I'm fairly certain there is a conversion utility. It may even have and RPM package by now. =G= *From:* Xymon <xymon-bounces at xymon.com> on behalf of Frank <user-fbc5ef527f6f@xymon.invalid> *Sent:* Friday, July 21, 2017 11:01 AM *To:* xymon at xymon.com *Subject:* Re: [Xymon] xymon with tls1.2 */EXTERNAL/* Thanks, I just had a look at your link. We are running slackware-12.1.0 32 bit. Which is why I am compiling everything. Not sure if something for centos or fedora will work. On 7/21/17 10:56, Josh Luthman wrote:FYI the package over at Terabithia works with TLS 1.2 out of the box. I have an httpd that is TLS 1.2 only. http://terabithia.org/rpms/xymon/ Josh Luthman Office: XXX-XXX-XXXX Direct: XXX-XXX-XXXX XXXX Wayne St Suite XXXX Troy, OH XXXXX On Fri, Jul 21, 2017 at 10:41 AM, Henrik Størner via Xymon <xymon at xymon.com <mailto:xymon at xymon.com>> wrote: < ---------- Forwarded message ---------- From: "Henrik Størner" <user-ce4a2c883f75@xymon.invalid <mailto:user-ce4a2c883f75@xymon.invalid>> To: Xymon mailinglist <xymon at xymon.com <mailto:xymon at xymon.com>> Cc: Bcc: Date: Fri, 21 Jul 2017 16:41:50 +0200 Subject: Re: [Xymon] xymon with tls1.2 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 <tel:XX-XX-XXXX%2016>: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.-- sysadm cronomagic.com/gemstelecom.com
user-3a42a2ba864a@xymon.invalid
POWERED BY LINUX-- sysadm cronomagic.com/gemstelecom.com e-mail user-fbc5ef527f6f@xymon.invalid POWERED BY LINUX
list Frank Torontour
Hi, Installing the rpm (even after conversion to tgz file) does not work. It cannot find libraries including the ssl. The start script also does not work because slackare is no designed to work with /etc/rc.d/init.d/functions. I used the start script from the one that I compiled to start it and that's where things went downhill.
▸
On 7/21/17 11:12, Galen Johnson wrote:From the days I worked with Slackware, I'm fairly certain there is a conversion utility. It may even have and RPM package by now. =G= *From:* Xymon <xymon-bounces at xymon.com> on behalf of Frank <user-fbc5ef527f6f@xymon.invalid> *Sent:* Friday, July 21, 2017 11:01 AM *To:* xymon at xymon.com *Subject:* Re: [Xymon] xymon with tls1.2 */EXTERNAL/* Thanks, I just had a look at your link. We are running slackware-12.1.0 32 bit. Which is why I am compiling everything. Not sure if something for centos or fedora will work. On 7/21/17 10:56, Josh Luthman wrote:FYI the package over at Terabithia works with TLS 1.2 out of the box. I have an httpd that is TLS 1.2 only. http://terabithia.org/rpms/xymon/ Josh Luthman Office: XXX-XXX-XXXX Direct: XXX-XXX-XXXX XXXX Wayne St Suite XXXX Troy, OH XXXXX On Fri, Jul 21, 2017 at 10:41 AM, Henrik Størner via Xymon <xymon at xymon.com <mailto:xymon at xymon.com>> wrote: < ---------- Forwarded message ---------- From: "Henrik Størner" <user-ce4a2c883f75@xymon.invalid <mailto:user-ce4a2c883f75@xymon.invalid>> To: Xymon mailinglist <xymon at xymon.com <mailto:xymon at xymon.com>> Cc: Bcc: Date: Fri, 21 Jul 2017 16:41:50 +0200 Subject: Re: [Xymon] xymon with tls1.2 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 <tel:XX-XX-XXXX%2016>: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.-- sysadm cronomagic.com/gemstelecom.com user-3a42a2ba864a@xymon.invalid POWERED BY LINUX
-- sysadm cronomagic.com/gemstelecom.com e-mail user-fbc5ef527f6f@xymon.invalid POWERED BY LINUX
list Frank Torontour
Hi, Finally, I have succeeded at building the xymon against an updated opessl. root at dns8:~# openssl version OpenSSL 1.0.2h 3 May 2016 root at dns8:/home/xymon_test/server/bin# ./xymonnet --version xymonnet version 4.3.27 SSL library : OpenSSL 1.0.2h 3 May 2016 The way I did it was to replace the system openssl with openssl-1.0.2h. I used the system tools to repackage a slackware-14.2 package to slackware-12.1 package. Then I completely deleted the xymon build and untarred it fresh. Then I got proper results. Thank you all for the help, and I am testing. -- sysadm cronomagic.com/gemstelecom.com e-mail user-fbc5ef527f6f@xymon.invalid POWERED BY LINUX
list Galen Johnson
Did you build 4.3.28? That's the latest...asking since xymonnet is show 4.3.27.
▸
=G=
From: Xymon <xymon-bounces at xymon.com> on behalf of Frank <user-fbc5ef527f6f@xymon.invalid>
Sent: Monday, July 24, 2017 1:45 PM
To: xymon at xymon.com
Subject: Re: [Xymon] xymon with tls1.2
EXTERNAL
Hi,
Finally, I have succeeded at building the xymon against an updated
opessl.
root at dns8:~# openssl version
OpenSSL 1.0.2h 3 May 2016
root at dns8:/home/xymon_test/server/bin# ./xymonnet --version
xymonnet version 4.3.27
SSL library : OpenSSL 1.0.2h 3 May 2016
The way I did it was to replace the system openssl with openssl-1.0.2h.
I used the system tools to repackage
a slackware-14.2 package to slackware-12.1 package. Then I completely
deleted the xymon build and
untarred it fresh. Then I got proper results. Thank you all for the
help, and I am testing.
--
sysadm cronomagic.com/gemstelecom.com
e-mail user-fbc5ef527f6f@xymon.invalid
POWERED BY LINUX
list Frank Torontour
No I built 4.3.27 which at the time was the newest when it was installed.
▸
On 7/24/17 13:54, Galen Johnson wrote:Did you build 4.3.28? That's the latest...asking since xymonnet is show 4.3.27.
=G=
From: Xymon <xymon-bounces at xymon.com> on behalf of Frank <user-fbc5ef527f6f@xymon.invalid>
Sent: Monday, July 24, 2017 1:45 PM
To: xymon at xymon.com
Subject: Re: [Xymon] xymon with tls1.2
EXTERNAL
Hi,
Finally, I have succeeded at building the xymon against an updated
opessl.
root at dns8:~# openssl version
OpenSSL 1.0.2h 3 May 2016
root at dns8:/home/xymon_test/server/bin# ./xymonnet --version
xymonnet version 4.3.27
SSL library : OpenSSL 1.0.2h 3 May 2016
The way I did it was to replace the system openssl with openssl-1.0.2h.
I used the system tools to repackage
a slackware-14.2 package to slackware-12.1 package. Then I completely
deleted the xymon build and
untarred it fresh. Then I got proper results. Thank you all for the
help, and I am testing.
--
sysadm cronomagic.com/gemstelecom.com
e-mail user-fbc5ef527f6f@xymon.invalid
POWERED BY LINUX
-- sysadm cronomagic.com/gemstelecom.com e-mail user-fbc5ef527f6f@xymon.invalid POWERED BY LINUX