Bugzilla – Bug 986939
qt4 sql drivers cannot load after update
Last modified: 2016-08-06 18:17:55 UTC
Created attachment 682475 [details] Error log The following Qt4 SQL drivers cannot load after qt4 update because of incompatible build keys: libqsqlmysql.so libqsqlodbc.so libqsqlpsql.so
To fix: The following packages should be rebuild using and the same build settings (compiler), which was used to build the libqt4 package: libqt4-sql-mysql libqt4-sql-odbc libqt4-sql-postgresql
Created attachment 685705 [details] Corrected spec file Changed Release to 4.2 Added fix-gcc6-detection from libqt4.spec
Created attachment 685706 [details] GCC 6 detection patch from libqt4 source package
The problem can be fixed by rebuilding the libqt4-sql-plugins package using the spec file in the "Corrected spec file" attachment. "GCC 6 detection patch from libqt4 source package" should be added to the sources of libqt4-sql-plugins I changed the release number of libqt4-sql-plugins to 4.2. Maybe the release number of libqt4 should be also changed to 4.2 to match with liqt4-sql-plugins release number
Thanks for the investigation and the patch. We did add this patch over a month ago already though. The problem was that it is only applied to the main libqt4 package, not libqt4-mysql-plugins in Factory. This was fixed in the devel repo (KDE:Qt) a month ago too, but for some reason this has never been forwarded to Factory/Tumbleweed. I did that now: https://build.opensuse.org/request/show/415406 As a workaround, you can install libmysql-plgins-mysql from KDE:Qt for now, the packages there are fine. And btw, the release number in the spec file is irrelevant, this gets set automatically by OBS... ;-)
The update is included in the latest snapshot, so this problem should be fixed now.