Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.0.17
-
None
-
Linux, Fedora
-
10.0.20
Description
I've installed only the following packages:
MariaDB-common-10.0.17-1.fc20.x86_64
MariaDB-client-10.0.17-1.fc20.x86_64
and tried to use auth_pam.so plugin. I got the following error:
ERROR 2059 (HY000): Authentication plugin 'dialog' cannot be loaded: /usr/lib64/mysql/plugin/dialog.so: cannot open shared object file: No such file or directory
|
...simply because the dialog.so is packaged in MariaDB-shared RPM.
Attachments
Issue Links
- relates to
-
MDEV-3809 Change Debian packaging to use CPack instead of bakery
-
- Stalled
-
In a sense, it's correct. Because dialog.so plugin is loaded by libmysqlclient.so, so they're packaged together.
But client tools from MariaDB-client are linked with libmysqlclient.a statically. That's why they work and don't require MariaDB-shared.
I see two possible fixes for this:
I'd generally prefer the second solution, many fine-grained packages are, in my opinion, confusing for users, and linking dynamically is just The Right Thing.