LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-14-2009, 07:42 PM   #1
Ellops
Member
 
Registered: Nov 2005
Location: ath.gr
Distribution: Slackware 11.0 / 2.6.19.1 /Linux Mint
Posts: 124

Rep: Reputation: 15
MySQL Workbench: Couldn't load library libmysqlclient_r.so


Just installed it. But new connection on local socket and on TCP fails with this..

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

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

I ls -n'd the "libmysqlclient.so.10.0.0" to "libmysqlclient_r.so" and "libmysqlclient.so" 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...
 
Old 10-14-2009, 07:49 PM   #2
Elv13
Member
 
Registered: Apr 2006
Location: Montreal,Quebec
Distribution: Gentoo
Posts: 825

Rep: Reputation: 129Reputation: 129
Try making a symlink using ln -s to /usr/lib/libmysqlclient_r.so
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.
 
Old 10-14-2009, 07:51 PM   #3
Ellops
Member
 
Registered: Nov 2005
Location: ath.gr
Distribution: Slackware 11.0 / 2.6.19.1 /Linux Mint
Posts: 124

Original Poster
Rep: Reputation: 15
well... fixed..
it is in /usr/lib finnaly and needs to "ln -sf"'d an "libysqlclient_r.so".

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


-->edit
@Elv13
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..

Last edited by Ellops; 10-14-2009 at 07:54 PM.
 
Old 11-03-2009, 09:43 PM   #4
griadooss
LQ Newbie
 
Registered: Nov 2009
Posts: 2

Rep: Reputation: 0
Quote:
Originally Posted by Ellops View Post
well... fixed..
it is in /usr/lib finnaly and needs to "ln -sf"'d an "libysqlclient_r.so".
-------------------

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 :

Quote:
"ln -sf"'d an "libysqlclient_r.so"
and what does it mean??

Much appreciatively.

GR

Last edited by griadooss; 11-03-2009 at 10:16 PM.
 
Old 11-04-2009, 01:47 AM   #5
thanasys
LQ Newbie
 
Registered: Nov 2009
Posts: 1

Rep: Reputation: 0
He means:

cd /usr/lib
ln -s libmysqlclient_r.so.15.0.0 libmysqlclient_r.so

thanasys
 
Old 11-04-2009, 03:47 PM   #6
griadooss
LQ Newbie
 
Registered: Nov 2009
Posts: 2

Rep: Reputation: 0
Quote:
Originally Posted by thanasys View Post
He means:

cd /usr/lib
ln -s libmysqlclient_r.so.15.0.0 libmysqlclient_r.so

thanasys
+++++++++++++

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

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

Quote:
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?!?!

Thnx

GR


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*

Last edited by griadooss; 11-05-2009 at 12:15 AM. Reason: SOLVED
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
make error : incompatible /usr/lib64/mysql/libmysqlclient_r.a when searching for -lmy hotsouce Red Hat 3 03-26-2009 10:40 AM
LXer: Visual MySQL Database Design in MySQL Workbench LXer Syndicated Linux News 0 06-12-2008 07:00 PM
MySQL Workbench grahamtysall Linux - General 1 07-27-2007 03:30 PM
Urgent trying to load ser-mysql and it requires a library that I cant find seem to lo yawdmac Linux - Newbie 2 06-02-2007 08:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration