View Issue Details

IDProjectCategoryView StatusLast Update
0011980Rocky-Linux-9perl-DBD-MySQLpublic2026-02-07 20:14
ReporterSimeon Petkov Assigned ToLouis Abel  
PrioritynormalSeverityblockReproducibilityalways
Status needinfoResolutionopen 
PlatformGCP / AWS OSRocky Linux 9OS Version9.7-1.4
Summary0011980: On Rocky Linux 9, perl-DBD-MySQL-4.053-1.el9.0.1.x86_64 has a hard runtime dependency on libmysqlclient.so.21
DescriptionOn Rocky Linux 9, perl-DBD-MySQL-4.053-1.el9.0.1.x86_64 has a hard runtime dependency on libmysqlclient.so.21 -
This makes perl-DBD-MySQL incompatible with Percona Server packages - (percona-server-shared) which obsolete mysql-libs.

On RHEL 9, perl-DBD-MySQL is available in a build (4.050-13.el9) which uses mariadb-connector-c and does not require libmysqlclient.so.21, and therefore works correctly with Percona Server.

As a result, percona-xtrabackup-84 cannot be installed on Rocky 9 when Percona Server is present, while the same setup works on RHEL 9.

Please consider rebuilding perl-DBD-MySQL on Rocky 9 against mariadb-connector-c (as in RHEL), or providing a compatible build as this differs from RHEL spec / behavior.
Steps To Reproduce1: Spool up a fresh Rocky Linux 9 VM

2: Install percona-release
sudo yum install https://repo.percona.com/yum/percona-release-latest.noarch.rpm

3: Enable 8.4 repo for percona-server / percona-xtrabackup
percona-release enable pxb-84-lts
percona-release enable ps-84-lts

4: Install Percona Server for MySQL 8.4
dnf install percona-server-server

5: Try to install Percona Xtrabackup tool 8.4 for MySQL 8.4
dnf install percona-xtrabackup-84.x86_64

6: Observe an error message :(
Additional InformationError Output:
===================================================================================================================
dnf install percona-xtrabackup-84.x86_64

Last metadata expiration check: 0:25:23 ago on Sat 07 Feb 2026 05:59:55 PM UTC.
Error:
 Problem: package perl-DBD-MySQL-4.053-1.el9.0.1.x86_64 from appstream requires libmysqlclient.so.21()(64bit), but none of the providers can be installed
  - package perl-DBD-MySQL-4.053-1.el9.0.1.x86_64 from appstream requires libmysqlclient.so.21(libmysqlclient_21.0)(64bit), but none of the providers can be installed
  - package percona-server-shared-8.4.0-1.1.el9.x86_64 from ps-84-lts-release-x86_64 obsoletes mysql-libs < 8.4.0-1.1.el9 provided by mysql-libs-8.0.43-1.el9_6.x86_64 from appstream
  - package percona-server-shared-8.4.0-1.1.el9.x86_64 from ps-84-lts-release-x86_64 obsoletes mysql-libs < 8.4.0-1.1.el9 provided by mysql-libs-8.0.44-1.el9_7.x86_64 from appstream
  - problem with installed package percona-server-shared-8.4.7-7.1.el9.x86_64
  - package percona-server-shared-8.4.2-2.1.el9.x86_64 from ps-84-lts-release-x86_64 obsoletes mysql-libs < 8.4.2-2.1.el9 provided by mysql-libs-8.0.43-1.el9_6.x86_64 from appstream
  - package percona-server-shared-8.4.2-2.1.el9.x86_64 from ps-84-lts-release-x86_64 obsoletes mysql-libs < 8.4.2-2.1.el9 provided by mysql-libs-8.0.44-1.el9_7.x86_64 from appstream
  - package percona-xtrabackup-84-8.4.0-5.1.el9.x86_64 from pxb-84-lts-release-x86_64 requires perl(DBD::mysql), but none of the providers can be installed
  - cannot install the best candidate for the job
  - package percona-server-shared-8.4.3-3.1.el9.x86_64 from ps-84-lts-release-x86_64 obsoletes mysql-libs < 8.4.3-3.1.el9 provided by mysql-libs-8.0.43-1.el9_6.x86_64 from appstream
  - package percona-server-shared-8.4.3-3.1.el9.x86_64 from ps-84-lts-release-x86_64 obsoletes mysql-libs < 8.4.3-3.1.el9 provided by mysql-libs-8.0.44-1.el9_7.x86_64 from appstream
  - package percona-server-shared-8.4.4-4.1.el9.x86_64 from ps-84-lts-release-x86_64 obsoletes mysql-libs < 8.4.4-4.1.el9 provided by mysql-libs-8.0.43-1.el9_6.x86_64 from appstream
  - package percona-server-shared-8.4.4-4.1.el9.x86_64 from ps-84-lts-release-x86_64 obsoletes mysql-libs < 8.4.4-4.1.el9 provided by mysql-libs-8.0.44-1.el9_7.x86_64 from appstream
  - package percona-server-shared-8.4.5-5.1.el9.x86_64 from ps-84-lts-release-x86_64 obsoletes mysql-libs < 8.4.5-5.1.el9 provided by mysql-libs-8.0.43-1.el9_6.x86_64 from appstream
  - package percona-server-shared-8.4.5-5.1.el9.x86_64 from ps-84-lts-release-x86_64 obsoletes mysql-libs < 8.4.5-5.1.el9 provided by mysql-libs-8.0.44-1.el9_7.x86_64 from appstream
  - package percona-server-shared-8.4.6-6.1.el9.x86_64 from ps-84-lts-release-x86_64 obsoletes mysql-libs < 8.4.6-6.1.el9 provided by mysql-libs-8.0.43-1.el9_6.x86_64 from appstream
  - package percona-server-shared-8.4.6-6.1.el9.x86_64 from ps-84-lts-release-x86_64 obsoletes mysql-libs < 8.4.6-6.1.el9 provided by mysql-libs-8.0.44-1.el9_7.x86_64 from appstream
  - package percona-server-shared-8.4.7-7.1.el9.x86_64 from ps-84-lts-release-x86_64 obsoletes mysql-libs < 8.4.7-7.1.el9 provided by mysql-libs-8.0.43-1.el9_6.x86_64 from appstream
  - package percona-server-shared-8.4.7-7.1.el9.x86_64 from ps-84-lts-release-x86_64 obsoletes mysql-libs < 8.4.7-7.1.el9 provided by mysql-libs-8.0.44-1.el9_7.x86_64 from appstream
  - installed package percona-server-shared-8.4.7-7.1.el9.x86_64 obsoletes mysql-libs < 8.4.7-7.1.el9 provided by mysql-libs-8.0.43-1.el9_6.x86_64 from appstream
  - installed package percona-server-shared-8.4.7-7.1.el9.x86_64 obsoletes mysql-libs < 8.4.7-7.1.el9 provided by mysql-libs-8.0.44-1.el9_7.x86_64 from appstream
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

===================================================================================================================
Also check the differences on RHEL 9 and Rocky 9:

RHEL 9:
repoquery --whatprovides perl-DBD-MySQL
Last metadata expiration check: 0:10:52 ago on Sat 07 Feb 2026 05:21:08 PM UTC.
perl-DBD-MySQL-0:4.050-13.el9.x86_64
perl-DBD-MySQL-0:4.053-1.el9.x86_64

# After installing percona-xtrabackup-84:
rpm -q --requires perl-DBD-MySQL-4.050-13.el9.x86_64 | grep -i mysql
libmariadb.so.3(libmysqlclient_18)(64bit)
perl(DBD::mysql)
-------------------------------------------------------------------------------------------------------------------------
Rocky 9:
repoquery --whatprovides perl-DBD-MySQL
Last metadata expiration check: 0:06:39 ago on Sat 07 Feb 2026 05:29:10 PM UTC.
perl-DBD-MySQL-0:4.053-1.el9.0.1.x86_64

Tagsdependency

Activities

Louis Abel

Louis Abel

2026-02-07 19:11

administrator   ~0012508

Thank you for the report.

Some notes before continuing:

* You are reporting an issue with a package incompatibility with third party packages, which we do not manage
* You are referring to an older package that we do not ship in 9.7 (4.050-13.el9) - we only ship the latest packages - the previous version you are referring to was superseded between 9.6 and 9.7
* 4.053-1.el9 is the latest shipped by RHEL and Rocky Linux 9

```
libc.so.6()(64bit)
libc.so.6(GLIBC_2.2.5)(64bit)
libc.so.6(GLIBC_2.3)(64bit)
libc.so.6(GLIBC_2.3.4)(64bit)
libc.so.6(GLIBC_2.34)(64bit)
libc.so.6(GLIBC_2.4)(64bit)
libmysqlclient.so.21()(64bit)
libmysqlclient.so.21(libmysqlclient_21.0)(64bit)
libperl.so.5.32()(64bit)
perl(:MODULE_COMPAT_5.32.1)
perl(:VERSION) >= 5.8.0
perl(Carp)
perl(DBD::mysql)
perl(DBI)
perl(DBI::Const::GetInfoType)
perl(DynaLoader)
perl(strict)
perl(warnings)
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsZstd) <= 5.4.18-1
rtld(GNU_HASH)
Name : perl-DBD-MySQL
Version : 4.053
Release : 1.el9
Architecture: x86_64
Install Date: (not installed)
Group : Unspecified
Size : 372791
License : GPL+ or Artistic
Signature : RSA/SHA256, Wed Apr 23 10:45:57 2025, Key ID 199e2f91fd431d51
Source RPM : perl-DBD-MySQL-4.053-1.el9.src.rpm
Build Date : Tue Apr 22 08:05:29 2025
Build Host : x86-64-05.build.eng.rdu2.redhat.com
Packager : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
Vendor : Red Hat, Inc.
URL : https://metacpan.org/release/DBD-mysql
Summary : A MySQL interface for Perl
Description :
DBD::mysql is the Perl5 Database Interface driver for the MySQL database. In
other words: DBD::mysql is an interface between the Perl programming language
and the MySQL programming API that comes with the MySQL relational database
management system.
```

```
libc.so.6()(64bit)
libc.so.6(GLIBC_2.2.5)(64bit)
libc.so.6(GLIBC_2.3)(64bit)
libc.so.6(GLIBC_2.3.4)(64bit)
libc.so.6(GLIBC_2.34)(64bit)
libc.so.6(GLIBC_2.4)(64bit)
libmysqlclient.so.21()(64bit)
libmysqlclient.so.21(libmysqlclient_21.0)(64bit)
libperl.so.5.32()(64bit)
perl(:MODULE_COMPAT_5.32.1)
perl(:VERSION) >= 5.8.0
perl(Carp)
perl(DBD::mysql)
perl(DBI)
perl(DBI::Const::GetInfoType)
perl(DynaLoader)
perl(strict)
perl(warnings)
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsZstd) <= 5.4.18-1
rtld(GNU_HASH)
Name : perl-DBD-MySQL
Version : 4.053
Release : 1.el9.0.1
Architecture: x86_64
Install Date: (not installed)
Group : Unspecified
Size : 372799
License : GPL+ or Artistic
Signature : RSA/SHA256, Thu 13 Nov 2025 09:34:07 PM MST, Key ID 702d426d350d275d
Source RPM : perl-DBD-MySQL-4.053-1.el9.0.1.src.rpm
Build Date : Thu 13 Nov 2025 09:31:55 PM MST
Build Host : pb-6efbd049-dda4-4cf6-94d2-97c67b8fc4ab-b-x86-64
Packager : Rocky Linux Build System (Peridot) <releng@rockylinux.org>
Vendor : Rocky Enterprise Software Foundation
URL : https://metacpan.org/release/DBD-mysql
Summary : A MySQL interface for Perl
Description :
DBD::mysql is the Perl5 Database Interface driver for the MySQL database. In
other words: DBD::mysql is an interface between the Perl programming language
and the MySQL programming API that comes with the MySQL relational database
management system.
```

The issue is going to be in the third party packages. They need to rebuild against RHEL 9.7 (or derivative like ours) or CentOS Stream 9 to prepare for 9.8.
Simeon Petkov

Simeon Petkov

2026-02-07 20:14

reporter   ~0012541

Hello Louis,
Thanks a lot for the quick and clear explanation.

Understood — and thank you for clarifying that both Rocky 9.7 and RHEL 9.7 ship the same perl-DBD-MySQL 4.053 build and that the libmysqlclient.so.21 dependency originates from the upstream RHEL package.

For clarity:
The RHEL system I tested was a freshly provisioned RHEL 9 VM on AWS and fully updated at the time of testing, and it still had the older perl-DBD-MySQL-4.050-13.el9 package available and selected by dnf.
So it may be that this older build is still present in some RHEL repositories or channels, which explains the different dependency resolution I observed.

I agree that this is effectively an incompatibility between current RHEL 9.x packaging and the third-party Percona packages (which obsolete mysql-libs), and I will follow up with Percona on their side.

Thanks again for the fast and detailed feedback.

Issue History

Date Modified Username Field Change
2026-02-07 18:55 Simeon Petkov New Issue
2026-02-07 18:55 Simeon Petkov Tag Attached: dependency
2026-02-07 19:11 Louis Abel Assigned To => Louis Abel
2026-02-07 19:11 Louis Abel Status new => needinfo
2026-02-07 19:11 Louis Abel Note Added: 0012508
2026-02-07 20:14 Simeon Petkov Note Added: 0012541