LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 05-27-2009, 09:55 AM   #1
vitalstrike82
Member
 
Registered: Oct 2007
Location: Singapore
Distribution: OpenSuse, Slackware, Redhat
Posts: 315

Rep: Reputation: 40
cannot open mysql gui on mysql version 6.0


Hi,

i install mysql version 6.0 in slackware 12.1.

i install the mysql gui tools frm http://repository.slacky.eu/slackwar...-tools/5.0r12/

i hit this error when i try to run mysql-administrator. The error is

error while loading shared libraries. libmysqlclient_r.so.15: cannot open shared object file. No such file or directory
 
Old 05-27-2009, 11:58 AM   #2
niels.horn
Senior Member
 
Registered: Mar 2007
Location: Rio de Janeiro - Brazil
Distribution: Slackware64-current
Posts: 1,004

Rep: Reputation: 89
Did you check the dependencies?

I also think that it was designed for mysql 5.x and might not work with 6.0 ...

From the official site:
Quote:
This is the MySQL GUI Tools Bundle for 5.0. It includes the following products which are also supported for MySQL 5.1.

Last edited by niels.horn; 05-27-2009 at 12:13 PM. Reason: (typos...)
 
Old 05-28-2009, 11:15 AM   #3
vitalstrike82
Member
 
Registered: Oct 2007
Location: Singapore
Distribution: OpenSuse, Slackware, Redhat
Posts: 315

Original Poster
Rep: Reputation: 40
ok i delete the mysql folder and reinstall again. This time i using the mysql 5.0.x version.

Still hit the same error.
 
Old 05-28-2009, 12:09 PM   #4
disturbed1
Senior Member
 
Registered: Mar 2005
Location: USA
Distribution: Slackware
Posts: 1,133
Blog Entries: 6

Rep: Reputation: 223Reputation: 223Reputation: 223
You're missing libmysqlclient_r.so.15. You'd have to figure out which binary package at Slacky.eu has this. Or compile it from source, Could just be a bad binary package.

Considering it (mysql gui) is not a Slackware package, it is a Slacky.eu issue.

I downloaded the GUI Tools from here http://dev.mysql.com/downloads/gui-tools/5.0.html, and ran it from a folder. Worked fine for me.
sh mysql-administrator --update-paths
sh mysql-administrator
Slackware64-current, and Slackware 12.2.

Last edited by disturbed1; 05-28-2009 at 12:58 PM. Reason: libmysqlclient
 
Old 05-28-2009, 12:47 PM   #5
niels.horn
Senior Member
 
Registered: Mar 2007
Location: Rio de Janeiro - Brazil
Distribution: Slackware64-current
Posts: 1,004

Rep: Reputation: 89
libmysqlclient_r.so.15 is included in:
- the mysql-5.0.81 package in Slackware-current and Slackware64-current
- the mysql-5.0.67 package in Slackware-12.2

And it is installed in /usr/lib/mysql in all cases.
<edit> /usr/lib64/mysql for Slackware64 of course... </edit>

I do not have access to a 12.1 machine at this moment, but I guess it is included in the mysql package as well.
Check if the file is there in your installation.

Run the following command to check if it is included in your mysql package:
Code:
grep libmysqlclient /var/log/packages/mysql*

Last edited by niels.horn; 05-28-2009 at 12:49 PM. Reason: correction of path for Slackware64
 
Old 05-28-2009, 12:55 PM   #6
disturbed1
Senior Member
 
Registered: Mar 2005
Location: USA
Distribution: Slackware
Posts: 1,133
Blog Entries: 6

Rep: Reputation: 223Reputation: 223Reputation: 223
Quote:
Originally Posted by niels.horn View Post
libmysqlclient_r.so.15 is included in:
- the mysql-5.0.81 package in Slackware-current and Slackware64-current
- the mysql-5.0.67 package in Slackware-12.2

And it is installed in /usr/lib/mysql in all cases.
<edit> /usr/lib64/mysql for Slackware64 of course... </edit>
Indeed it is
Code:
bash-3.1$ slocate libmysqlclient
/usr/lib64/libmysqlclient.so
/usr/lib64/libmysqlclient.so.15
/usr/lib64/libmysqlclient_r.so
/usr/lib64/libmysqlclient_r.so.15
/usr/lib64/mysql/libmysqlclient.a
/usr/lib64/mysql/libmysqlclient.la
/usr/lib64/mysql/libmysqlclient.so
/usr/lib64/mysql/libmysqlclient.so.15
/usr/lib64/mysql/libmysqlclient.so.15.0.0
/usr/lib64/mysql/libmysqlclient_r.a
/usr/lib64/mysql/libmysqlclient_r.la
/usr/lib64/mysql/libmysqlclient_r.so
/usr/lib64/mysql/libmysqlclient_r.so.15
/usr/lib64/mysql/libmysqlclient_r.so.15.0.0
 
Old 05-30-2009, 11:37 PM   #7
vitalstrike82
Member
 
Registered: Oct 2007
Location: Singapore
Distribution: OpenSuse, Slackware, Redhat
Posts: 315

Original Poster
Rep: Reputation: 40
Ok, i have found the problem why the gui tools can work in my laptop and not in y desktop.

I found that once i uninstall the mysql that comes while installing slackware, libmysqlclient_r.so.15 this folder will be removed.

This time round i reformat the root, install again and the gui works which i think due to the initial installing of mysql in slackware.

thanks for the help you all have given me.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Navicat MySQL GUI for Linux version 8.0.23 is released. samnav Linux - Software 0 01-31-2008 01:17 AM
can't make mysql command run the right mysql version crimson.dynamo Linux - Newbie 9 06-20-2007 09:36 AM
mysql error Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. Dannux Linux - Software 3 03-24-2006 08:44 AM


All times are GMT -5. The time now is 07:31 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration