[MDEV-26741] Cannot load galera library since it now expects libssl.so.1.0.0 Created: 2021-10-01 Updated: 2022-02-08 Resolved: 2021-12-01 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Galera |
| Affects Version/s: | 10.5.12 |
| Fix Version/s: | 10.5.13, 10.6.5 |
| Type: | Bug | Priority: | Major |
| Reporter: | Jaikiran Pai | Assignee: | Daniel Bartholomew |
| Resolution: | Fixed | Votes: | 0 |
| 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. 10.5.8:
10.5.10:
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? |
| Comments |
| Comment by Jaikiran Pai [ 2021-10-02 ] | ||||||||||||||||||||||||||
|
The precise error message that we receive on 10.5.12 MariaDB version is as follows: 2021-10-02 6:03:12 0 [Note] WSREP: Loading provider /usr/local/mysql/lib/libgalera_smm.so initial position: 00000000-0000-0000-0000-000000000000:-1 | ||||||||||||||||||||||||||
| Comment by Jaikiran Pai [ 2021-10-07 ] | ||||||||||||||||||||||||||
|
Any inputs on this one please? We haven't been able to upgrade to this new version of MariaDB. | ||||||||||||||||||||||||||
| Comment by Sergei Golubchik [ 2021-10-13 ] | ||||||||||||||||||||||||||
|
dbart: non-systemd bintars. 10.5.8 has libgalera_smm.so from centos7x builder, 10.5.12 — from trusty. systemd builds both have it from trusty | ||||||||||||||||||||||||||
| Comment by Daniel Bartholomew [ 2021-10-14 ] | ||||||||||||||||||||||||||
|
jaikiran: I've verified on a test machine that this bintar does have a working libgalera_smm.so (i.e. linked to the correct libcrypto and libssl), but I'd like to confirm that it works in your environment before rolling out the fixed bintar everywhere. | ||||||||||||||||||||||||||
| Comment by Jaikiran Pai [ 2021-10-15 ] | ||||||||||||||||||||||||||
|
Hello Daniel, Thank you for your work on this. I'll use that custom tar in some of our internal setups and test it out. I'll get back to you shortly on how those test runs go. | ||||||||||||||||||||||||||
| Comment by Jaikiran Pai [ 2021-10-15 ] | ||||||||||||||||||||||||||
|
Hello Daniel, I have run some basic tests with the tar you linked and it has fixed the issue. Here's the relevant snippet from the logs:
Additionally, for reference, here's the ldd output from this patched version:
I haven't yet run the entire testsuite of our product which this tar and I'll be doing that next week. But for the issue at hand, I think the fix you provided in that tar is working. Thank you very much for addressing this issue. | ||||||||||||||||||||||||||
| Comment by prashant Jadhav [ 2022-02-08 ] | ||||||||||||||||||||||||||
|
I ma facing same issue in 10.5.13.. have created a issue for same. |