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

Galera Generic Binary tar ball does not work on CentOS 7

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Won't Fix
    • 10.3.11
    • N/A
    • Compiling, Galera, Packaging
    • None
    • CentOS 7

    Description

      We downloaded from your website:
      mariadb-10.3.11-linux-glibc_214-x86_64.tar.gz

      ldd /opt/mariadb/lib/galera/libgalera_smm.so
              linux-vdso.so.1 =>  (0x00007ffe46592000)
              libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f64fef75000)
              librt.so.1 => /lib64/librt.so.1 (0x00007f64fed6d000)
              libssl.so.1.0.0 => not found
              libcrypto.so.1.0.0 => not found
              libstdc++.so.6 => /lib64/libstdc++.so.6 (0x00007f64fea66000)
              libm.so.6 => /lib64/libm.so.6 (0x00007f64fe764000)
              libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f64fe54e000)
              libc.so.6 => /lib64/libc.so.6 (0x00007f64fe181000)
              /lib64/ld-linux-x86-64.so.2 (0x00007f64ff5eb000)
      

      cd /usr/lib64
      lrwxrwxrwx. 1 root root      19  5. Dez 16:13 libcrypto.so.10 -> libcrypto.so.1.0.2k
      -rwxr-xr-x. 1 root root 2513000 30. Okt 23:42 libcrypto.so.1.0.2k
      -rwxr-xr-x. 1 root root  340976 26. Sep 20:37 libssl3.so
      lrwxrwxrwx. 1 root root      16  5. Dez 16:13 libssl.so.10 -> libssl.so.1.0.2k
      -rwxr-xr-x. 1 root root  470360 30. Okt 23:42 libssl.so.1.0.2k
      

      The old trick:

      [root@localhost lib64]# ln -s libssl.so.10 libssl.so.1.0.0
      [root@localhost lib64]# ln -s libcrypto.so.1.0.2k libcrypto.so.1.0.0
      

      does not work...

      /opt/mariadb/bin/mysqld --defaults-file=/etc/my.cnf.d/generic.cnf  --basedir=/opt/mariadb/ --user=mysql
      2018-12-05 17:06:16 0 [Note] /opt/mariadb/bin/mysqld (mysqld 10.3.11-MariaDB-log) starting as process 3591 ...
      2018-12-05 17:06:16 0 [Note] WSREP: Read nil XID from storage engines, skipping position init
      2018-12-05 17:06:16 0 [Note] WSREP: wsrep_load(): loading provider library '/opt/mariadb/lib/galera/libgalera_smm.so'
      2018-12-05 17:06:16 0 [ERROR] WSREP: wsrep_load(): dlopen(): /lib64/libcrypto.so.1.0.0: version `OPENSSL_1.0.0' not found (required by /opt/mariadb/lib/galera/libgalera_smm.so)
      2018-12-05 17:06:16 0 [ERROR] WSREP: wsrep_load(/opt/mariadb/lib/galera/libgalera_smm.so) failed: Invalid argument (22). Reverting to no provider.
      2018-12-05 17:06:16 0 [Note] WSREP: Read nil XID from storage engines, skipping position init
      2018-12-05 17:06:16 0 [Note] WSREP: wsrep_load(): loading provider library 'none'
      

      When we replace the libgalera_smm.so with the one from the CentOS 7 RPM packge it works.

      Can you link those 2 libraries statically???

      Attachments

        Activity

          People

            teemu.ollakka Teemu Ollakka
            oli Oli Sennhauser
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.