Hello,
I would like to describe a problem I faced with MySQL Workbench in the latest 12.3 release.
I have confirmed the problem on 3 different installations (all 64bit, but problem should be also available for 32bit).
The package mysql-workbench has a broken dependency for libmysqlclient_r18.
Actually it is a bit more complicated. There are 2 different set of packages:
- libmysqlclient18 + libmysqlclient18-32bit
- libmysqlclient_r18 + libmysqlclient_r18-32bit
mysql-workbench installs libmysqlclient18 (without "_r") but "looks" for the libmysqlclient_r.so shared library.
My first move was to install libmysqlclient_r18 from YaST. After installation I check the file list of the package and see that it should provide:
However that isn't true. The package does not provide these files and all I have in /usr/lib and /usr/lib64 is:
And of course MySQL Workbench continues to explode every time I try to create a connection.
The workaround that I did was:
After that MySQL Workbench succeeds connecting to mysql.
Conclusion:
For some reason the package libmysqlclient_r18 does not provide neither shared libraries, or symbolic links to the shared libraries of libmysqlclient18.
Hope this information helps someone.
Regards!
I would like to describe a problem I faced with MySQL Workbench in the latest 12.3 release.
I have confirmed the problem on 3 different installations (all 64bit, but problem should be also available for 32bit).
The package mysql-workbench has a broken dependency for libmysqlclient_r18.
Actually it is a bit more complicated. There are 2 different set of packages:
- libmysqlclient18 + libmysqlclient18-32bit
- libmysqlclient_r18 + libmysqlclient_r18-32bit
mysql-workbench installs libmysqlclient18 (without "_r") but "looks" for the libmysqlclient_r.so shared library.
My first move was to install libmysqlclient_r18 from YaST. After installation I check the file list of the package and see that it should provide:
Code:
/usr/lib64/libmysqlclient_r.so.18
/usr/lib64/libmysqlclient_r.so.18.0.0
Code:
soundreamer:/usr/lib64 # ls -la | grep libmysqlclient
lrwxrwxrwx 1 root root 24 Jul 17 13:49 libmysqlclient.so -> libmysqlclient.so.18.0.0
lrwxrwxrwx 1 root root 24 Mar 6 13:37 libmysqlclient.so.18 -> libmysqlclient.so.18.0.0
-rwxr-xr-x 1 root root 3142856 Feb 11 23:10 libmysqlclient.so.18.0.0
soundreamer:/usr/lib # ls -la | grep libmysqlclient
lrwxrwxrwx 1 root root 24 Jul 17 13:49 libmysqlclient.so -> libmysqlclient.so.18.0.0
lrwxrwxrwx 1 root root 24 Jun 19 17:31 libmysqlclient.so.18 -> libmysqlclient.so.18.0.0
-rwxr-xr-x 1 root root 3138373 Jun 6 17:37 libmysqlclient.so.18.0.0
The workaround that I did was:
Code:
su
cd /usr/lib64
ln -s libmysqlclient.so.18.0.0 libmysqlclient_r.so
ln -s libmysqlclient.so.18.0.0 libmysqlclient_r.so.18
cd /usr/lib
ln -s libmysqlclient.so.18.0.0 libmysqlclient_r.so
ln -s libmysqlclient.so.18.0.0 libmysqlclient_r.so.18
Conclusion:
For some reason the package libmysqlclient_r18 does not provide neither shared libraries, or symbolic links to the shared libraries of libmysqlclient18.
Hope this information helps someone.
Regards!