Your message dated Fri, 30 Jan 2026 16:48:21 +0100
with message-id <[email protected]>
and subject line Re: Bug#1126677: libdbd-mysql-perl 1:5.013-1.bookworm: 
mysql.so missing libmariadb dependency
has caused the Debian Bug report #1126677,
regarding libdbd-mysql-perl 1:5.013-1.bookworm: mysql.so missing libmariadb 
dependency
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1126677: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1126677
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: libdbd-mysql-perl
Version: 4.050-5
Severity: important
X-Debbugs-Cc: [email protected]

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

--- End Message ---
--- Begin Message ---
On Fri, 30 Jan 2026 13:51:54 +0100, Flavio Pastore wrote:

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.

"1:5.013-1.bookworm"? There is no version 1:5.013-1.bookworm of libdbd-mysql-perl in Debian:

% rmadison libdbd-mysql-perl
libdbd-mysql-perl | 4.050-3       | oldoldstable   | source
libdbd-mysql-perl | 4.050-3+b1    | oldoldstable   | amd64, arm64, armhf, i386
libdbd-mysql-perl | 4.050-5       | oldstable      | source
libdbd-mysql-perl | 4.050-5+b1    | oldstable      | amd64, arm64, armel, 
armhf, i386, mips64el, mipsel, ppc64el, s390x
libdbd-mysql-perl | 4.053-1       | stable         | source, amd64, arm64, 
armel, armhf, i386, ppc64el, riscv64, s390x
libdbd-mysql-perl | 4.054-1       | testing        | source, amd64, arm64, 
armhf, i386, ppc64el, riscv64, s390x
libdbd-mysql-perl | 4.054-1       | unstable       | source, amd64, arm64, 
armhf, i386, loong64, ppc64el, riscv64, s390x
libdbd-mysql-perl | 4.054-1       | unstable-debug | source

So whereever you got this broken package from it's not Debian and there's nothing we can do about it.

You can check with "apt policy", like

% PAGER=cat apt policy libdbd-mysql-perl libdbd-mysql-perl:
  Installed: 4.054-1
  Candidate: 4.054-1
  Version table:
 *** 4.054-1 990
        500 http://ftp.ch.debian.org/debian testing/main amd64 Packages
        990 http://ftp.ch.debian.org/debian unstable/main amd64 Packages
        100 /var/lib/dpkg/status
     4.053-1 500
        500 http://ftp.ch.debian.org/debian stable/main amd64 Packages
     4.050-5+b1 500
        500 http://ftp.ch.debian.org/debian oldstable/main amd64 Packages
     4.050-3+b1 500
        500 http://ftp.ch.debian.org/debian oldoldstable/main amd64 Packages

(That's on my laptop running unstable.)

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

Looking at the linked report at https://forums.percona.com/t/percona-toolkit-pt-show-grants-3-7-1-broken-on-debian-13/40009 there seems to be "Percona apt repository". In case you got your libdbd-mysql-perl from them, you need to take this issue up with them.


Cheers,
gregor, closing this bug

--
 .''`.  https://info.comodo.priv.at -- Debian Developer https://www.debian.org
 : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D  85FA BB3A 6801 8649 AA06
 `. `'  Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe
`-

Attachment: signature.asc
Description: Digital Signature


--- End Message ---

Reply via email to