[MDEV-13054] MariaDB 10.1.* Tarball installation package for CentOS 7 Created: 2017-06-12  Updated: 2017-10-01  Resolved: 2017-10-01

Status: Closed
Project: MariaDB Server
Component/s: Packaging
Fix Version/s: N/A

Type: Task Priority: Major
Reporter: Shiran Wang Assignee: Unassigned
Resolution: Won't Fix Votes: 0
Labels: need_feedback


 Description   

When installing MariaDB 10.1.* (Here I use 10.1.21) with Tarball in CentOS 7 and set up Galera cluster, the DB started up with below error messages:

2017-06-06 18:00:37 140208147236736 [ERROR] WSREP: wsrep_load(): dlopen(): libssl.so.6: cannot open shared object file: No such file or directory
2017-06-06 18:00:37 140208147236736 [ERROR] WSREP: wsrep_load(/usr/local/mariadb-10.1.21-linux-x86_64/lib/libgalera_smm.so) failed: Invalid argument (22). Reverting to no provider.

And wsrep_provider libgalera_smm.so still point to 2 packages in CentOS 6, it cannot find the new CentOS 7 libraries.

ldd galera/libgalera_smm.so
...
libssl.so.6 => not found
libcrypto.so.6 => not found
...

I created symlinks as below and then the error message disappeared and the cluster started.

ln -s /usr/lib64/libssl.so.1.0.1e /usr/lib64/libssl.so.6
ln -s /usr/lib64/libcrypto.so.1.0.1e /usr/lib64/libcrypto.so.6

My question is, will this kind of symlink cause future issues when running galera cluster in CentOS 7? If we don't want to use RPM installation, what's the solution for the error message we met?

MariaDB team, can you please provide a tarball installation package for CentOS 7?

Thanks!



 Comments   
Comment by Sergei Golubchik [ 2017-06-12 ]

I don't think we can build tarballs for every Linux distribution. Ideally, there should be only one tarball, we have three already and it is already confusing.

Why couldn't you use RPM packages? You can install them locally (--badreloc --relocate...) or simply unpack (rpm2cpio) and put binaries anywhere you want?

Comment by Shiran Wang [ 2017-06-12 ]

Hi Sergei,

Thanks for the reply.

If you and your team cannot build a Tarball Installation package for CentOS 7, then can you please provide a solution for below issue?

ldd galera/libgalera_smm.so
...
libssl.so.6 => not found
libcrypto.so.6 => not found
...

Thanks!

Comment by Daniel Black [ 2017-06-13 ]

https://downloads.mariadb.org/mariadb/repositories/#distro=CentOS&distro_release=centos7-amd64--centos7&version=10.1

Follow instructions at this url.

Generated at Thu Feb 08 08:02:32 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.