[MDEV-12671] MariaDB generic glibc 2.14 TGZ linked 2 versions OpenSSL Created: 2017-05-03  Updated: 2019-05-20  Resolved: 2019-05-20

Status: Closed
Project: MariaDB Server
Component/s: Galera, Packaging
Affects Version/s: 10.1.22
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: Francisco Biete Assignee: Jan Lindström (Inactive)
Resolution: Cannot Reproduce Votes: 0
Labels: None
Environment:

mariadb-10.1.22-linux-glibc_214-x86_64.tar.gz
Amazon Linux 2016.09



 Description   

I'm getting errors running the Galera provider using the generic TGZ for GlibC +2.14 versions.

I can see that the galera provider is linked against OpenSSL version 1.0.0, and version 1.0.1. Seems like something is wrong with the build process.

Anyway, I think it should only link against 1.0.1 as that the version that any distro with glibc 2.14 is likely to have.

# ldd -v lib/libgalera_smm.so
                libcrypto.so.1.0.0 (OPENSSL_1.0.0) => not found
                libssl.so.1.0.0 (OPENSSL_1.0.1) => not found
                libssl.so.1.0.0 (OPENSSL_1.0.0) => not found



 Comments   
Comment by Jan Lindström (Inactive) [ 2019-05-20 ]

At least on my environment there is only one:

jan@jan-HP-ZBook-15u-G5:~/mysql/galera$ ldd libgalera_smm.so
	linux-vdso.so.1 (0x00007ffd8e9af000)
	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f3ebab36000)
	librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f3ebab2b000)
	libssl.so.1.1 => /lib/x86_64-linux-gnu/libssl.so.1.1 (0x00007f3ebaa9b000)
	libcrypto.so.1.1 => /lib/x86_64-linux-gnu/libcrypto.so.1.1 (0x00007f3eba7cd000)
	libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f3eba5ec000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f3eba49e000)
	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f3eba482000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f3eba297000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f3ebae1e000)
	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f3eba291000)

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