Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 10.0.17
-
Fix Version/s: 10.0.20
-
Component/s: Packaging, Platform RedHat
-
Labels:None
-
Environment:Linux, Fedora
-
Sprint: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.
Gliffy Diagrams
Attachments
Issue Links
- relates to
-
MDEV-3809 Change Debian packaging to use CPack instead of bakery
-
- In Progress
-
Activity
- All
- Comments
- Work Log
- History
- Activity
- Transitions
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.