Bug#1126677: libdbd-mysql-perl 1:5.013-1.bookworm: mysql.so missing libmariadb dependency

Flavio Pastore team-ael at alterway.fr
Fri Jan 30 12:51:54 GMT 2026


Source: libdbd-mysql-perl
Version: 4.050-5
Severity: important
X-Debbugs-Cc: team-ael at alterway.fr

Dear Maintainer,

after an apt upgrade on Debian 12 (bookworm), libdbd-mysql-perl was upgraded
from the Debian version 4.050-5+b1 to version 1:5.013-1.bookworm.

After the upgrade, the DBD::mysql binary module (mysql.so) is broken at
runtime. The module does not declare any dependency on libmariadb or
libmysqlclient and fails to load with an undefined symbol error.

This can be verified with:

  readelf -d mysql.so | grep NEEDED

With version 1:5.013-1.bookworm, the only NEEDED entry is libc.so.6.
With the Debian build (4.050-5+b1), mysql.so correctly declares a dependency
on libmariadb.so.3.

As a result, any Perl code using DBI with the mysql driver fails at load time
with:
  undefined symbol: mysql_sqlstate

The issue appears to be a regression introduced by the 1:5.013-1.bookworm
package. Downgrading to the Debian version 4.050-5+b1 restores correct
behaviour.

A related upstream issue has been reported:
https://perconadev.atlassian.net/browse/PT-2509

Kind regards

*** End of the template - remove these template lines ***


-- System Information:
Debian Release: 12.13
  APT prefers oldstable-updates
  APT policy: (500, 'oldstable-updates'), (500, 'oldstable-security'), (500, 'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-42-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled



More information about the pkg-perl-maintainers mailing list