Redhat EL9 OpenSSL not linked during install
list Ken Connell
Red Hat Enterprise Linux release 9.5 (Plow)
Xymon Ver: 4.3.30
While building config:
Checking for OpenSSL ...
Compiling with SSL library works OK
/bin/ld: cannot find -ltirpc
collect2: error: ld returned 1 exit status
make: *** [Makefile.test-ssl:7: 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.
Compiling with SSL library works OK
/bin/ld: cannot find -ltirpc
collect2: error: ld returned 1 exit status
make: *** [Makefile.test-ssl:7: 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.
## end of building config, I ctrl+c out
Notes:
OpenSSL info:
OpenSSL 3.2.2 4 Jun 2024 (Library: OpenSSL 3.2.2 4 Jun 2024)
ldconfig -p | grep openlibxmlsec1-openssl.so.1 (libc6,x86-64) => /lib64/libxmlsec1-openssl.so.1
libxmlsec1-openssl.so (libc6,x86-64) => /lib64/libxmlsec1-openssl.so
libevent_openssl-2.1.so.7 (libc6,x86-64) => /lib64/libevent_openssl-2.1.so.7
Openssl @ /usr/bin/openssl
I have tried
"--sslinclude DIR" and "--ssllib DIR" as noted from install script:
# ./configure --sslinclude /usr/bin/ --ssllib /lib64/
and get: unrecognized ./configure target --sslinclude
Seems like I don't have proper syntax for this ?
This is above my linux/bash knowledge,
--
Ken Connell
Senior Network Engineer
Computer & Communication Services
Toronto Metropolitan University (Formerly Ryerson University)
list Jeremy Laidman
Hi Ken. Missing libraries while compiling is usually due to a missing dev or devel packages. Have you installed the libtirpc-dev package? J
▸
On Fri, 13 Dec 2024 at 07:43, Ken Connell via Xymon <xymon@xymon.com> wrote:
Red Hat Enterprise Linux release 9.5 (Plow)Xymon Ver: 4.3.30While building config:Checking for OpenSSL ...
Compiling with SSL library works OK
/bin/ld: cannot find -ltirpc
collect2: error: ld returned 1 exit status
make: *** [Makefile.test-ssl:7: 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.## end of building config, I ctrl+c outNotes:OpenSSL info:OpenSSL 3.2.2 4 Jun 2024 (Library: OpenSSL 3.2.2 4 Jun 2024)ldconfig -p | grep open
libxmlsec1-openssl.so.1 (libc6,x86-64) => /lib64/libxmlsec1-openssl.so.1
libxmlsec1-openssl.so (libc6,x86-64) => /lib64/libxmlsec1-openssl.so
libevent_openssl-2.1.so.7 (libc6,x86-64) => /lib64/libevent_openssl-2.1.so.7Openssl @ /usr/bin/opensslI have tried "--sslinclude DIR" and "--ssllib DIR" as noted from install script:# ./configure --sslinclude /usr/bin/ --ssllib /lib64/and get: unrecognized ./configure target --sslincludeSeems like I don't have proper syntax for this ?This is above my linux/bash knowledge,
--
Ken Connell
Senior Network Engineer
Computer & Communication Services
Toronto Metropolitan University (Formerly Ryerson University)
list Ken Connell
Hi Jeremy, Thanks for the quick response.
The dev package worked, it just wasn't avail via yum.
It had to be added from codeready-builder (which I'm not familiar with, our server team had to help out).
▸
On Thu, Dec 12, 2024 at 3:53 PM Jeremy Laidman <user-0608abae5e7c@xymon.invalid> wrote:
Hi Ken. Missing libraries while compiling is usually due to a missing dev or devel packages. Have you installed the libtirpc-dev package? JOn Fri, 13 Dec 2024 at 07:43, Ken Connell via Xymon <xymon@xymon.com> wrote:Red Hat Enterprise Linux release 9.5 (Plow)Xymon Ver: 4.3.30While building config:Checking for OpenSSL ...
Compiling with SSL library works OK
/bin/ld: cannot find -ltirpc
collect2: error: ld returned 1 exit status
make: *** [Makefile.test-ssl:7: 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.## end of building config, I ctrl+c outNotes:OpenSSL info:OpenSSL 3.2.2 4 Jun 2024 (Library: OpenSSL 3.2.2 4 Jun 2024)ldconfig -p | grep open
libxmlsec1-openssl.so.1 (libc6,x86-64) => /lib64/libxmlsec1-openssl.so.1
libxmlsec1-openssl.so (libc6,x86-64) => /lib64/libxmlsec1-openssl.so
libevent_openssl-2.1.so.7 (libc6,x86-64) => /lib64/libevent_openssl-2.1.so.7Openssl @ /usr/bin/opensslI have tried "--sslinclude DIR" and "--ssllib DIR" as noted from install script:# ./configure --sslinclude /usr/bin/ --ssllib /lib64/and get: unrecognized ./configure target --sslincludeSeems like I don't have proper syntax for this ?This is above my linux/bash knowledge,
--
Ken Connell
Senior Network Engineer
Computer & Communication Services
Toronto Metropolitan University (Formerly Ryerson University)