[MDEV-13811] No way to use prebuilt packages on SLES12sp2-ppc64le Created: 2017-09-15  Updated: 2023-09-28  Resolved: 2023-09-28

Status: Closed
Project: MariaDB Server
Component/s: Configuration
Affects Version/s: 10.2.8
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: Andrey Nevolin Assignee: Daniel Bartholomew
Resolution: Incomplete Votes: 0
Labels: None


 Description   

MariaDB prebuilt packages cannot be used on SLES12sp2-ppc64le because it's impossible to satisfy some dependencies by combining prebuit packages.

Consider the following dependencies:
1) mysqld -> libsystemd.so -> glibc
2) garbd -> libboost_program_options.so.1.55

Next, MariaDB 10.2 packages were built using Advance Toolchain 8.0.

Advance Toolchain doesn't substitute "libsystemd" library. So, a SLES version will be used. This version depends on SLES version of "glibc" which is 2.22. But Advance Toolchain 8.0 comes with version 2.20. Exactly this version will be loaded by Advance Toolchain loader. Loading "libsystemd" will fail after that, because a more recent version of "glibc" is required by this library.

Ok, it's easy to fix that. One can install AT 9.0 and also a compatibility package for AT 8.0.

AT 9.0 has "glibc 2.22" inside. Hence, "mysqld" dependency is satisfied.

But "garbd" dependency is broken after that. Because AT 9.0 contains a more recent version of Boost. And compatibility mode doesn't provide access to AT 8.0 version of Boost.

So,
1) mysqld requires AT 9.0 (if executed on SLES12sp2)
2) garbd requires exactly AT 8.0 (and AT 9.0-8.0 compatibility package cannot fix that)



 Comments   
Comment by Sergey Vojtovich [ 2017-10-20 ]

I feel like the right way to fix this is to upgrade AT at least up to 9.0. Library versions of AT must be more recent (or not older) than system libraries.

Comment by Daniel Bartholomew [ 2017-10-20 ]

Three options I see:
1. Rebuild garbd using AT 9.0
2. AT10.0 is now available on sles12, so build garbd and mysqld using that version.
3. Stop using AT and just build garbd and mysqld on SLES 12 using system libs.

svoj Any opinions on which option is preferred?

Comment by Sergey Vojtovich [ 2017-10-20 ]

I'm not sure if 1 would work.
2 seem to be alright.
3 is what I like most, but it is not me to decide.

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