-   Linux - Software (
-   -   MySQL Workbench: Couldn't load library (

Ellops 10-14-2009 08:42 PM

MySQL Workbench: Couldn't load library
Just installed it. But new connection on local socket and on TCP fails with this..


Couldn't load library cannot open shared object file: No such file or directory
The locate finds a file "" @/proc/15801/cwd/Linuxlib

and a "" @ /usr/lib but it's actually missing.

I ls -n'd the "" to "" and "" giving the location to the new connection dialog but it fails the same way.

What could it be?

PS: phpmyadmin works ok, if that has to do...

Elv13 10-14-2009 08:49 PM

Try making a symlink using ln -s to /usr/lib/
if it is the same file, it should work. But dbdesigner/workbench have always been a little tricky to install on less popular Linux distro, the windows version in Wine work fine. But it work fine on both my gentoo and Ubuntu machine right now.

Ellops 10-14-2009 08:51 PM

well... fixed..
it is in /usr/lib finnaly and needs to "ln -sf"'d an "".

the "find" hadn't find it >:<

Yes just figured out. thanks.
I don't know... this "find" function of nautilus should be updated manually like the good old "locate"?
It couldn't find it..

griadooss 11-03-2009 10:43 PM


Originally Posted by Ellops (Post 3719588)
well... fixed..
it is in /usr/lib finnaly and needs to "ln -sf"'d an "".


Sounds good Ellops ... i have exactly the same problem with workbench installation in Ubuntu 10.9 ....

however, i am not knowledgeable enough to understand your fix.

Could you please reword it for me. What is this :


"ln -sf"'d an ""
and what does it mean??

Much appreciatively.


thanasys 11-04-2009 02:47 AM

He means:

cd /usr/lib
ln -s


griadooss 11-04-2009 04:47 PM


Originally Posted by thanasys (Post 3743752)
He means:

cd /usr/lib
ln -s



OK, thx thanasys ... after creating the new syslink

... and going to "Manage Connection >> create new >> test", i get:


Standard (TCP/IP):
Test connect failed
Lost connection to MySQL server at 'reading initial communication packet', system error: 111

Local Socket:
Test connect failed
Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

Sombody else raised it as a bug at MySql-Workbench, AND the 'work-around' actually worked in their case?!?!



UPDATE: I had some time ago changed the port numbers in MY.CNF on the LAMP server and had forgotten about it -- i s'pose 'cause i have been simply using HTTP to connect through Apache ---- *slaps forehead*

It helps to use the correct parameters when testing the connection *whince*

All times are GMT -5. The time now is 08:22 PM.