I have installed openssl11 and openssl11-devel packages:

# 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
openssl11.x86_64                1:1.1.1k-5.el7                 @epel
openssl11-devel.x86_64          1:1.1.1k-5.el7                 @epel
openssl11-libs.x86_64           1:1.1.1k-5.el7                 @epel
xmlsec1-openssl.x86_64          1.2.20-7.el7_4
@anaconda/8.8.1

same problem:

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:15391: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "guacamole-server"
| #define PACKAGE_TARNAME "guacamole-server"
| #define PACKAGE_VERSION "1.5.3"
| #define PACKAGE_STRING "guacamole-server 1.5.3"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "guacamole-server"
| #define VERSION "1.5.3"
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_FCNTL_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_TIME_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_CAIRO_CAIRO_H 1
| #define _XOPEN_SOURCE 700
| #define __BSD_VISIBLE 1
| #define HAVE_LIBPTHREAD /**/
| #define HAVE_LIBUUID /**/
| #define HAVE_CLOCK_GETTIME 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_MEMMOVE 1
| #define HAVE_MEMSET 1
| #define HAVE_SELECT 1
| #define HAVE_STRDUP 1
| #define HAVE_NANOSLEEP 1
| #define HAVE_PNG_GET_IO_PTR /**/
| #define HAVE_CAIRO_FORMAT_STRIDE_FOR_WIDTH /**/
| #define HAVE_POLL /**/
| #define GUACD_CONF_FILE "/etc/guacamole/guacd.conf"
| /* end confdefs.h.  */
|
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| char SSL_CTX_new ();
| int
| main (void)
| {
| return SSL_CTX_new ();
|   ;
|   return 0;
| }
configure:15401: result: no
configure:15413: WARNING:
  --------------------------------------------
   Unable to find libssl.
   guacd will not support SSL connections.
  --------------------------------------------

пт, 1 сент. 2023 г. в 07:13, Mark Li <[email protected]>:

> Seems to be same version I use….
>
>
>
> $openssl version
>
> OpenSSL 1.0.2k-fips  26 Jan 2017
>
>
>
> But what I have is:
>
> # yum list installed | grep ssl
>
> openssl.x86_64                    1:1.0.2k-26.el7_9
> @centos-7-server-rpms
>
> openssl-devel.x86_64              1:1.0.2k-26.el7_9        @updates
>
> openssl-libs.x86_64               1:1.0.2k-26.el7_9
> @centos-7-server-rpms
>
> openssl11.x86_64                  1:1.1.1k-5.el7           @epel
>
> openssl11-libs.x86_64             1:1.1.1k-5.el7           @epel
>
>
>
> what you have:
>
> 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
>
>
>
> *From:* Victor Krutov <[email protected]>
> *Sent:* Thursday, August 31, 2023 9:57 PM
> *To:* [email protected]
> *Subject:* Re: Need help with libssl on CentOS 7.9 / Guacamole 1.5.3
>
>
>
> Thank you Nick, I will check that.
>
>
>
> чт, 31 авг. 2023 г. в 20:39, Nick Couchman <[email protected]>:
>
> On Thu, Aug 31, 2023 at 5:24 PM Victor Krutov <[email protected]>
> wrote:
> >
> > 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
>
> I think the last time I did an updated to 1.5.2 or 1.5.3 I had to do
> the following:
> * Remove openssl-devel
> * Install openssl11 and openssl11-devel
>
> -Nick
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to