Bug #47152 | Possible missing symbolic link libmysqlclient_r.so -> libmysqlclient_r.so.xx.x.x | ||
---|---|---|---|
Submitted: | 5 Sep 2009 17:19 | Modified: | 14 Sep 2009 14:43 |
Reporter: | Ron Atkins | Email Updates: | |
Status: | Duplicate | Impact on me: | |
Category: | MySQL Workbench | Severity: | S2 (Serious) |
Version: | 5.1.18 | OS: | Linux (Ubuntu 9.04) |
Assigned to: | CPU Architecture: | Any | |
Tags: | cannot open shared object file, Couldn't load library, libmysqlclient_r.so, regression |
[5 Sep 2009 17:19]
Ron Atkins
[6 Sep 2009 0:01]
Isaque Alves
Hi. I hope my tip can help you all. I'm using Ubuntu, Jaunty, and the same problem has succeed to me, so i managed to resolve creating a symbolic link to the /usr/lib/libmysqlclient_r.so.16.0.0 with the name /usr/lib/libmysqlclient_r.so. this is a workaround, and not a definitive solution, but it after this, mysql workbench works a charm... Do this: ln -sf /usr/lib/libmysqlclient_r.so.16.0.0 /usr/lib/libmysqlclient_r.so
[6 Sep 2009 11:49]
Valeriy Kravchuk
Thank you for the bug report. Verified just as described on Ubuntu 8.04. I do not remember messages like this in older versions of Workbench, so this looks like a regression bug.
[10 Sep 2009 11:06]
Michael Schreiber
confirmed on Ubuntu 9.04 Desktop Workaround is working here too.
[14 Sep 2009 14:43]
Johannes Taxacher
marked as duplicate of bug #47152
[14 Sep 2009 14:44]
Johannes Taxacher
sorry, typo. this is a duplicat of #47238
[17 Sep 2009 11:22]
david sullivan
A variation on the above post for Ubuntu users running XAMPP for linux rather than the native LAMP server setup. If you're running Xampp, the above symbolic link fix will not work since Xampp installs in the /opt/lampp directory. The appropriate workaround for Ubuntu/Xampp is sudo ln -sf /opt/lampp/lib/mysql/libmysqlclient_r.so.16.0.0 /usr/lib/libmysqlclient_r.so This was tested and works on Ubuntu 9.04 running Xampp version 1.7.2
[18 Nov 2009 17:35]
Bernard Peek
Bug still present in 9.10 but the workaround posted does not work. The link is created but does not cure the fault.
[24 Nov 2009 10:15]
peter peter
Bug still present in 9.10. Workaround running good
[25 Nov 2009 23:02]
Peter Spicer
All, Many thanks for the information - saved me a lot of time as I was having the same problem: Linux ubuntu 2.6.31-15-generic #50-Ubuntu SMP Tue Nov 10 14:53:52 UTC 2009 x86_64 GNU/Linux Would anyone care to describe how one would go about finding that the symbolic link was not there? I have no idea how I would go about debugging something like this, so I am very interested. Anyway, thanks again. -- Peter
[29 Dec 2009 3:57]
Memo Hdz
I think the problem is in the package libmysqlclient16. it is missing to create the symbolic link. Peter: to Debug is easy, well, the workbench is saying the library libmysqlclient_r.so is missing and cannot be loaded. In this case I looked forward in ubuntu for such file using: "locate libmysqlclient", Then the ouput is showing the required file is missing except for the 15, 16 and other versions. Here you can figure-out the symbolib link is missing.
[9 Mar 2010 22:28]
Fernando Peralta
Thank you. I have the same problem, i tried ln -sf /usr/lib/libmysqlclient_r.so.16.0.0 /usr/lib/libmysqlclient_r.so And now, it is working fine. Thank you again