Description of problem: I use some software which links against libmysqlclient. After upgrading to F27, libmysqlclient is not found by the loader. Version-Release number of selected component (if applicable): $ rpm -q mariadb-libs mariadb-libs-10.2.9-3.fc27.x86_64 How reproducible: Always Steps to Reproduce: 1. Run software linked against libmysqlclient.so. Actual results: The following error is displayed when attempting to run software linked against libmysqlclient. libmysqlclient.so.18: cannot open shared object file: No such file or directory libmysqlclient is provided by mariadb-libs. $ rpm -ql mariadb-libs /etc/ld.so.conf.d/mariadb-x86_64.conf /etc/my.cnf.d/client.cnf /usr/lib/.build-id /usr/lib/.build-id/a5 /usr/lib/.build-id/a5/c17835b924d9830cc6b91764d3c3e80f650d05 /usr/lib64/mysql/libmariadb.so.3 /usr/lib64/mysql/libmysqlclient.so.18 But ldconfig does not appear to know about it. $ ldconfig -p | grep mysql libmariadb.so.3 (libc6,x86-64) => /usr/lib64/mysql/libmariadb.so.3 libmariadb.so (libc6,x86-64) => /usr/lib64/mysql/libmariadb.so Expected results: libmysqlclient.so is successfully loaded. Additional info: Setting LD_LIBRARY_PATH=/usr/lib64/mysql works around the issue.
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 pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.