Xymon Mailing List Archive search

Redhat EL9 OpenSSL not linked during install

3 messages in this thread

list Ken Connell · Thu, 12 Dec 2024 15:42:28 -0500 ·
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.
## 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 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.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)
XXX Victoria St
RM PODB50
Toronto, Ont
M5B 2K3
XXX-XXX-XXXX x556709
list Jeremy Laidman · Fri, 13 Dec 2024 07:52:31 +1100 ·
Hi Ken. Missing libraries while compiling is usually due to a missing dev or devel packages. Have you installed the libtirpc-dev package? J

quoted from Ken Connell
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.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.
## 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 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.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 Ken Connell · Thu, 12 Dec 2024 16:38:39 -0500 ·
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).

quoted from Jeremy Laidman
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? 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.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.
## 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 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.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)