[debian-mysql] Bug#1001843: Bug#1001843: libmariadb-dev: mariadb_config reports incorrect plugin directory

Faustin Lammler faustin at fala.red
Thu Jan 20 11:34:09 GMT 2022


Hi Akira!

With Debian 10, the path is /usr/lib/x86_64-linux-gnu/mariadb19/plugin,
see bellow:
| ~$ podman run -it debian:10 bash -c "apt-get update && apt-get install -y libmariadb-dev && mariadb_config --plugin"
| ...
| /usr/lib/x86_64-linux-gnu/mariadb19/plugin
|
| ~$ podman run -it debian:11 bash -c "apt-get update && apt-get install -y libmariadb-dev && mariadb_config --plugin"
| ...
| /usr/lib/x86_64-linux-gnu/libmariadb3/plugin

You may be confusing with the mysql_config script? See also
https://jira.mariadb.org/browse/MDEV-13836.

The man page is quite clear about this behavior:
| NAME
|        mysql_config - get compile options for compiling clients
|
|   •   --plugindir
|
|   The default plugin directory path name, defined when configuring MariaDB.

Also, please note that /usr/lib/mysql/plugin/ does not exist if you only
install libmariadb-dev.

| ~$ podman run -it debian:11 bash -c "apt-get update && apt-get install -y libmariadb-dev && ls /usr/lib/mysql/plugin/"
| ...
| ls: cannot access '/usr/lib/mysql/plugin/': No such file or directory

If you think this is still problematic, please report it upstream
(jira.mariadb.org).

Thanks!

-- 
Faustin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-mysql-maint/attachments/20220120/8502912c/attachment.sig>


More information about the pkg-mysql-maint mailing list