Details
-
Bug
-
Status: Confirmed (View Workflow)
-
Major
-
Resolution: Unresolved
-
10.2(EOL)
-
None
-
Debian Stretch
Description
After upgrading mariadb to 10.2.9 i get the following error:
Sep 28 09:34:07 ns1 pdns_server[12841]: Sep 28 09:34:07 Unable to load module '/usr/lib/x86_64-linux-gnu/pdns/libgmysqlbackend.so': libmariadbclient.so.18: cannot open shared object file: No such file or directory
|
/usr/lib/x86_64-linux-gnu/libmariadbclient.so.18 isn't anymore there.
Hotfix:
ln -s libmariadb.so.3 /usr/lib/x86_64-linux-gnu/libmariadbclient.so.18
|
ii libmariadb3 10.2.9+maria~stretch amd64 MariaDB database client library
|
ii libmariadbclient18 10.2.9+maria~stretch amd64 Virtual package to satisfy external depends
|
ii libmysqlclient18 10.2.9+maria~stretch amd64 Virtual package to satisfy external depends
|
ii mariadb-client-10.2 10.2.9+maria~stretch amd64 MariaDB database client binaries
|
ii mariadb-client-core-10.2 10.2.9+maria~stretch amd64 MariaDB database core client binaries
|
ii mariadb-common 10.2.9+maria~stretch all MariaDB database common files (e.g. /etc/mysql/conf.d/mariadb.cnf)
|
ii mariadb-server 10.2.9+maria~stretch all MariaDB database server (metapackage depending on the latest version)
|
ii mariadb-server-10.2 10.2.9+maria~stretch amd64 MariaDB database server binaries
|
ii mariadb-server-core-10.2 10.2.9+maria~stretch amd64 MariaDB database core server files
|
ii mysql-common 10.2.9+maria~stretch all MariaDB database common files (e.g. /etc/mysql/my.cnf)
|
Edit:
After reinstalling
apt install libmariadbclient18 --reinstall
|
The link is also there.
Attachments
Issue Links
- is caused by
-
MDEV-13589 libmariadbclient18 is broken when using mariadb repo instead of debian's
-
- Closed
-
This was most probably caused by fixes in debian packaging in 10.2.9.
in 10.2.8 and earlier, libmariadb3 package installed libmariadbclient.so.18 and libmysqlclient.so.18 symlinks, and libmariadbclient18 and libmysqlclient18 packages were empty. They depended on libmariadb3, so if one would install libmariadbclient18, she'd get symlinks all right. The problem was that after that, if one would remove symlinks and reinstall libmariadbclient18 — symlinks wouldn't come back. The fix was to move symlinks to their corresponding packages, in 10.2.9 libmariadb3 package installs only libmariadb.so.3, while libmariadbclient.so.18 is installed by libmariadbclient18 package (that's why reinstall helped).
This doesn't explain, though, why libmariadbclient.so.18 disappeared for you. If you could tell how to repeat this effect, I'll be able to fix it.