Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-26741

Cannot load galera library since it now expects libssl.so.1.0.0

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.5.12
    • Fix Version/s: 10.5.13, 10.6.5
    • Component/s: Galera
    • Labels:
      None

      Description

      We are using 10.5.8 of MariaDB and recently decided to move to 10.5.12 (latest released). We use Galera for HA. We use the .tar.gz binaries available at https://downloads.mariadb.org/mariadb (Linux x86_64 variant) to install the server.

      Moving to 10.5.12, we haven't been able to boot the MariaDB server at all since it fails to load the galera library due to a dependency on libssl.so.1.0.0 and libcrypto.so.1.0.0. We checked our current 10.5.8 installation and it uses libssl.so.10 and libcrypto.so.10. Looking back at the releases, it looks like starting 10.5.10 version of MariaDB, galera now expects libssl.so.1.0.0 and libcrypto.so.1.0.0 instead of libssl.so.10 and libcrypto.so.10. We don't have those versions on the setups we use.
      More specifically, here's the "ldd" output from 10.5.8 and 10.5.10 against libgalera_smm.so:

      10.5.8:

      ldd libgalera_smm.so 
      	linux-vdso.so.1 =>  (0x00007ffda4ddb000)
      	libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fa9914c5000)
      	librt.so.1 => /lib64/librt.so.1 (0x00007fa9912bd000)
      	libssl.so.10 => /lib64/libssl.so.10 (0x00007fa99104a000)
      	libcrypto.so.10 => /lib64/libcrypto.so.10 (0x00007fa990be7000)
      	libstdc++.so.6 => /lib64/libstdc++.so.6 (0x00007fa9908df000)
      	libm.so.6 => /lib64/libm.so.6 (0x00007fa9905dc000)
      	libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007fa9903c6000)
      	libc.so.6 => /lib64/libc.so.6 (0x00007fa990005000)
      	/lib64/ld-linux-x86-64.so.2 (0x00007fa991986000)
      	libgssapi_krb5.so.2 => /lib64/libgssapi_krb5.so.2 (0x00007fa98fdb6000)
      	libkrb5.so.3 => /lib64/libkrb5.so.3 (0x00007fa98facf000)
      	libcom_err.so.2 => /lib64/libcom_err.so.2 (0x00007fa98f8cb000)
      	libk5crypto.so.3 => /lib64/libk5crypto.so.3 (0x00007fa98f698000)
      	libdl.so.2 => /lib64/libdl.so.2 (0x00007fa98f494000)
      	libz.so.1 => /lib64/libz.so.1 (0x00007fa98f27e000)
      	libkrb5support.so.0 => /lib64/libkrb5support.so.0 (0x00007fa98f06e000)
      	libkeyutils.so.1 => /lib64/libkeyutils.so.1 (0x00007fa98ee6a000)
      	libresolv.so.2 => /lib64/libresolv.so.2 (0x00007fa98ec50000)
      	libselinux.so.1 => /lib64/libselinux.so.1 (0x00007fa98ea28000)
      	libpcre.so.1 => /lib64/libpcre.so.1 (0x00007fa98e7c7000)
      

      10.5.10:

      ldd libgalera_smm.so 
      ldd: warning: you do not have execution permission for `./libgalera_smm.so'
      	linux-vdso.so.1 =>  (0x00007ffd101fb000)
      	libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fbe5ca57000)
      	librt.so.1 => /lib64/librt.so.1 (0x00007fbe5c84f000)
      	libssl.so.1.0.0 => not found
      	libcrypto.so.1.0.0 => not found
      	libstdc++.so.6 => /lib64/libstdc++.so.6 (0x00007fbe5c546000)
      	libm.so.6 => /lib64/libm.so.6 (0x00007fbe5c243000)
      	libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007fbe5c02d000)
      	libc.so.6 => /lib64/libc.so.6 (0x00007fbe5bc6c000)
      	/lib64/ld-linux-x86-64.so.2 (0x00007fbe5d0a7000)
      

      I checked the release notes of these versions and can't find anything that mentions any changes in this area.

      Is this an expected change? What version of OpenSSL is expected to be installed on such setups?

        Attachments

          Activity

            People

            Assignee:
            dbart Daniel Bartholomew
            Reporter:
            jaikiran Jaikiran Pai
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Git Integration