LD_LIBRARY_PART SET ?
Also, this is what I load to compile guacd in centos7
- name: install guac build dependencies
yum:
name:
- freerdp-devel
- cairo-devel
- libjpeg-turbo-devel
- libpng-devel
- libtool
- libuuid-devel
- libssh2-devel
- openssl-devel
- pango-devel
- libwebsockets-devel
- libvorbis-devel
- libwebp-devel
- freerdp-devel
- nasm
- wget
- patch
state: present
seems you need the openssl version
________________________________
From: Victor Krutov <[email protected]>
Sent: Thursday, August 31, 2023 5:23:33 PM
To: [email protected] <[email protected]>
Subject: Need help with libssl on CentOS 7.9 / Guacamole 1.5.3
Hello all,
I am trying to fix a problem with libssl dependency:
------------------------------------------------
guacamole-server version 1.5.3
------------------------------------------------
Library status:
freerdp2 ............ yes
pango ............... yes
libavcodec .......... yes
libavformat.......... yes
libavutil ........... yes
libssh2 ............. yes
libssl .............. no
libswscale .......... yes
libtelnet ........... yes
libVNCServer ........ yes
libvorbis ........... yes
libpulse ............ yes
libwebsockets ....... yes
libwebp ............. yes
wsock32 ............. no
Protocol support:
Kubernetes .... no
RDP ........... yes
SSH ........... no
Telnet ........ yes
VNC ........... yes
Services / tools:
guacd ...... yes
guacenc .... yes
guaclog .... yes
FreeRDP plugins: /usr/lib64/freerdp2
Init scripts: /etc/init.d
Systemd units: no
config.log:
configure:15368: checking for SSL_CTX_new in -lssl
configure:15391: gcc -std=gnu11 -o conftest -g -O2 conftest.c -lssl >&5
/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/libssl.so: undefined
reference to `[email protected]'
/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/libssl.so: undefined
reference to `[email protected]'
/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/libssl.so: undefined
reference to `[email protected]'
/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/libssl.so: undefined
reference to `[email protected]'
/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/libssl.so: undefined
reference to `[email protected]'
collect2: error: ld returned 1 exit status
configure:15401: result: no
configure:15413: WARNING:
--------------------------------------------
Unable to find libssl.
guacd will not support SSL connections.
--------------------------------------------
I got all required packages installed:
yum list installed | grep ssl
libcurl-openssl.x86_64 4.6.0-1.el7 @anaconda/8.8.1
mod_ssl.x86_64 1:2.4.6-99.el7.centos.1 @updates
nss_compat_ossl.x86_64 0.9.6-8.el7 @anaconda/8.8.1
openssl.x86_64 1:1.0.2k-26.el7_9 @updates
openssl-devel.x86_64 1:1.0.2k-26.el7_9 @updates
openssl-libs.x86_64 1:1.0.2k-26.el7_9 @updates
xmlsec1-openssl.x86_64 1.2.20-7.el7_4 @anaconda/8.8.1
Package 1:openssl-devel-1.0.2k-26.el7_9.x86_64 already installed and latest
version
Feels like the configure expecting something that doesn't exist in the current
library set (similar to
https://stackoverflow.com/questions/5593284/undefined-reference-to-ssl-library-init-and-ssl-load-error-strings)
Any help is much appreciated!
-Victor