Bug #47238 | Can't add a DB connection - couldn't load library libmysqlclient_r.so | ||
---|---|---|---|
Submitted: | 10 Sep 2009 8:37 | Modified: | 12 Nov 2009 10:29 |
Reporter: | Simone Marchioni | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Workbench | Severity: | S2 (Serious) |
Version: | 5.1.18 | OS: | Linux (Fedora 11, Ubuntu) |
Assigned to: | CPU Architecture: | Any | |
Tags: | libmysqlclient_r.so connection "fedora 11", regression |
[10 Sep 2009 8:37]
Simone Marchioni
[10 Sep 2009 10:41]
Valeriy Kravchuk
Bug #47240 was marked as a duplicate of this one.
[10 Sep 2009 11:06]
Valeriy Kravchuk
Verified just as described. Also - on Ubuntu 8.04 with .deb package. Regression bug.
[14 Sep 2009 14:40]
Johannes Taxacher
theres a workaround to fix the problem mentioned in Bug #47240
[14 Sep 2009 14:50]
Simone Marchioni
What is this workaround?
[23 Sep 2009 8:06]
Ignat Alexeyenko
I fixed this in following way in Ubuntu 9.04 (Just created a symlink in /usr/lib directory) cd /usr/lib sudo ln -s libmysqlclient_r.so.15 libmysqlclient_r.so
[22 Oct 2009 1:34]
Sergio Abreu
<i> [23 Sep 10:06] Ignat Alexeyenko I fixed this in following way in Ubuntu 9.04 (Just created a symlink in /usr/lib directory) cd /usr/lib sudo ln -s libmysqlclient_r.so.15 libmysqlclient_r.so </i> Perfect ! Thanks Ignat. PS: Why don't mysql team include this fix in the original packets ????
[9 Nov 2009 12:50]
Dror Ben-Gai
Hi all, Happened to me on Fedora 11 (x64) on Workbench ver 5.1.18, my solution was to put the following softlink in /usr/lib64/mysql-workbench: libmysqlclient_r.so -> /usr/lib64/mysql/libmysqlclient_r.so.16.0.0 This took care of the problem.. Thx, D.
[11 Nov 2009 17:10]
Johannes Taxacher
this problem has been fixed. linking of connector lib has been changed. fix will be included in 5.2.7
[12 Nov 2009 10:29]
Tony Bedford
An entry has been added to the 5.2.7 changelog: When an attempt was made to add a database connection the following error was generated: Test connect failed Couldn't load library libmysqlclient_r.so: libmysqlclient_r.so: cannot open shared object file: No such file or directory This only happened on Linux.
[23 Dec 2009 22:56]
Eddinson Harold
Tengo Linux Mint 8 (helena). salia el mismo valor q ustedes y lo solucione leyendo este foro. Es el siguiente sentencia : sudo ln -s libmysqlclient_r.so.15 libmysqlclient_r.so
[23 Dec 2009 22:58]
Eddinson Harold
Gracias Totales
[13 Jan 2010 1:30]
Sasha Gerrand
Can confirm this still exists in v5.1.18. I don't understand why though, as it links against the correct MySQL library, yet calls another one. $ uname -s -r -v -m Linux 2.6.31-16-generic #53-Ubuntu SMP Tue Dec 8 04:02:15 UTC 2009 x86_64 $ apt-cache show mysql-workbench-oss | egrep '(Status|Version)' Status: install ok installed Version: 5.1.18-1ubu904 $ ldd /usr/bin/mysql-workbench-bin | grep libmysql libmysqlclient_r.so.15 => /usr/lib/libmysqlclient_r.so.15 (0x00007f90b7398000)
[22 Jan 2010 22:24]
C F
On Fedora 11 do this (as root): > cd /usr/lib64/mysql > ln -s libmysqlclient_r.so.16.0.0 libmysqlclient_r.so > ldconfig Then restart the workbench
[21 Feb 2010 21:19]
Johnny Mohseni
I am running Ubuntu 9.10 Karmic Koala and I just ran into this identical issue. It seems odd that a fix to ana installation defect is to have the end-user manually resolve it. Is there a fix by the community that resolves it during the automated installation process?