Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1516482
Summary: | libmysqlclient.so.18 not found after upgrade to F27 | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Erwan Legrand <redhat> |
Component: | mariadb | Assignee: | Michal Schorm <mschorm> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 27 | CC: | 2013temp2013temp, atu, dciabrin, hhorak, jstanek, mbayer, mkocka, mmuzila, mschorm, praiskup |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | mariadb-10.2.12-5.fc27 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-02-04 21:49:52 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Erwan Legrand
2017-11-22 17:37:00 UTC
I should have said that the /usr/lib/mysql/libmysqlclient.so.18 symbolic link was missing after the upgrade. Running dnf reinstall mariadb-libs restored it. Hello, TL;DR: Do not use it. Rebuild your software with MariaDB library ( or MySQL, if you need exactly that one) -- Longer story: the situation is a little more complicated. The mariadb library has changed to "libmariadb.so", so I started providing symbolic links to that library, since upstream claims it is 100% API & ABI compatibile. (Which proved itself not quite true, but upstream took care of the fixes, so it *should* be now). The package had "Provides: libmysqlclient.so.18", which was an error after all, because I forgot to provide the file itself. Later, I started big fedora mariadb/mysql update (currently present in rawhide) which transferred all packages to build with mariadb-connector-c instead. As the "libmysqlclient.so.18" was no longer needed, I decided to drop that false provides (which is currently done in Rawhide). -- You should move to "mariadb.so" library (still referenced by "libmysqlclient.so" symlinks). Also, your software should be prepared for the rawhide update. If you really need to build against "libmysqlclient.so.18", build against community-mysql package, however I'd recommend the first option. mysql-connector-odbc-5.3.9-1.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-5053d63074 mysql-connector-odbc-5.3.9-1.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-5053d63074 Our site is having problem with the new mysql libraries: 2 problems: 1- ImportError: libmysqlclient.so.18: cannot open shared object file: No such file or directory Actual solution: get mariadb-libs-10.2.10-2.fc27.x86_64 from repository updates-testing plus ln -s libmysqlclient.so libmysqlclient.so.18 in /usr/lib64 2- apr_dbd_mysql.so not found if httpd config uses "DBDriver mysql" Actual solution: get apr-util-mysql-1.6.1-2.fc27.x86_64 from repository updates-testing mysql-connector-odbc-5.3.9-2.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-50a0e9a0da mysql-connector-odbc-5.3.9-2.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report. mariadb-10.2.12-5.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-66833616aa mariadb-10.2.12-5.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-66833616aa mariadb-10.2.12-5.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-66833616aa mariadb-10.2.12-5.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-66833616aa mariadb-10.2.12-5.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report. |