[MDEV-19568] Missing provides (libmysqlclient.so.18) for rpm packages for centos7 Created: 2019-05-23  Updated: 2019-08-07  Resolved: 2019-07-30

Status: Closed
Project: MariaDB Server
Component/s: Packaging, Platform RedHat
Affects Version/s: 10.3.15
Fix Version/s: N/A

Type: Bug Priority: Critical
Reporter: Pavel Znamensky Assignee: Sergei Golubchik
Resolution: Not a Bug Votes: 0
Labels: None
Environment:

CentOS Linux release 7.6.1810 (Core)


Issue Links:
Relates
relates to MDEV-20275 Missing libmysqlclient.so(.18) Closed

 Description   

Lots of packages in CentOS require:

  • libmysqlclient.so.18()(64bit)
  • libmysqlclient.so.18(libmysqlclient_18)(64bit)

Though MariaDB-*-shared.rpm from http://yum.mariadb.org/10.3/centos7-amd64/rpms/ provides:

  • libmariadb.so.3(libmariadbclient_18)(64bit)
  • libmariadb.so.3(libmysqlclient_18)(64bit)

it's not enought for packages like postfix, MySQL-python and so on.
Because of this, we can't use MariaDB-* rpms as drop-in replacement for packages from CentOS repo.
Could you please add these provides?



 Comments   
Comment by Pavel Znamensky [ 2019-07-09 ]

Are there any chances the fix will be available in the upcoming release?

Comment by Sergei Golubchik [ 2019-07-09 ]

Yes, this issue has priority of Critical, so there's a qiute good chance it'll be fixed in the next release

Comment by Sergei Golubchik [ 2019-07-12 ]

This is provided by MariaDB-compat, and you cannot install MariaDB-shared without MariaDB-compat, because -shared requires -common, and -common requires -compat.

Either you build MariaDB* packages yourself (and without MariaDB-compat) or you installed -shared with --nodeps. I don't see how else you could've got MariaDB-shared installed without having libmysqlclient.so.18()(64bit)

Comment by Bart Grefte [ 2019-07-24 ]

I don't know if this will be considered off topic, but I'm running into the same problem with MariaDB in Debian derivative Raspbian Buster. Got a program that can store data in databases, but depends on libmysqlclient.so.18 which doesn't seem to be included with MariaDB.

Comment by Pavel Znamensky [ 2019-07-30 ]

I missed that MariaDB-compat rpm provides those libs
I'm very sorry, but indeed everything is fine.
Thank you!

Comment by Sergei Golubchik [ 2019-08-07 ]

bartgrefte, yes, this is an issue about RPM packaging. DEB packaging is implemented independently from RPM, so your problem must be unrelated to what we did here. Please, report a new bug for it and we'll take it from there

Comment by Bart Grefte [ 2019-08-07 ]

@Sergei Golubchik

MDEV-20275

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