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

Notices

Reply
 
Search this Thread
Old 06-21-2011, 04:34 PM   #1
mignonnedavis
LQ Newbie
 
Registered: Apr 2011
Posts: 6

Rep: Reputation: 0
libmysqlclient not found when trying to start EnsimPro


I saw a similiar thread to this and followed along, but ultimately, it still doesn't work.

When I try to restart EnsimPro, I was getting the following errors:
Traceback (most recent call last):
File "<string>", line 2, in ?
File "virtualhosting/virthost.py", line 57, in ?
File "/usr/lib/python2.4/site-packages/ensimappl/__init__.py", line 53, in ?

File "telnet/virthost_actions.py", line 6, in ?
File "virtualhosting/virthost.py", line 57, in ?
File "/usr/lib/python2.4/site-packages/ensimappl/__init__.py", line 53, in ?

File "mysql/virthost_actions.py", line 11, in ?
File "/usr/lib64/python2.4/site-packages/MySQLdb/__init__.py", line 19, in ?
import _mysql
ImportError: libmysqlclient_r.so.15: cannot open shared object file: No such file or directory

So, the bottom line is the libmysqlclient_ro.so.15 is not found. I added (as recommended in a similiar thread) the symbolic links in BOTH /usr/lib and /usr/lib64 just to cover all bases:
(this is from /usr/lib)
lrwxrwxrwx 1 root root 37 Jun 21 01:59 libmysqlclient_r.so.15 -> /usr/lib/mysql/libmysqlclient_r.so.16
lrwxrwxrwx 1 root root 41 Jun 21 01:59 libmysqlclient_r.so.15.0.0 -> /usr/lib/mysql/libmysqlclient_r.so.16.0.0
lrwxrwxrwx 1 root root 35 Jun 21 02:00 libmysqlclient.so.15 -> /usr/lib/mysql/libmysqlclient.so.16
lrwxrwxrwx 1 root root 39 Jun 21 02:01 libmysqlclient.so.15.0.0 -> /usr/lib/mysql/libmysqlclient.so.16.0.0

this is from lib64:
lrwxrwxrwx 1 root root 39 Jun 21 18:36 libmysqlclient_r.so.15 -> /usr/lib64/mysql/libmysqlclient_r.so.16
-rwxr-xr-x 1 root root 1508524 Jun 21 19:29 libmysqlclient_r.so.15.0.0
lrwxrwxrwx 1 root root 37 Jun 21 18:37 libmysqlclient.so.15 -> /usr/lib64/mysql/libmysqlclient.so.16
-rwxr-xr-x 1 root root 1500648 Jun 21 19:29 libmysqlclient.so.15.0.0


So, now I kind of seem to be past that error, but now I get this:
Traceback (most recent call last):
File "<string>", line 2, in ?
File "virtualhosting/virthost.py", line 57, in ?
File "/usr/lib/python2.4/site-packages/ensimappl/__init__.py", line 53, in ?

File "telnet/virthost_actions.py", line 6, in ?
File "virtualhosting/virthost.py", line 57, in ?
File "/usr/lib/python2.4/site-packages/ensimappl/__init__.py", line 53, in ?

File "mysql/virthost_actions.py", line 11, in ?
File "/usr/lib64/python2.4/site-packages/MySQLdb/__init__.py", line 19, in ?
import _mysql
ImportError: /usr/lib64/libmysqlclient_r.so.15: version `libmysqlclient_15' not found (required by /usr/lib64/python2.4/site-packages/_mysql.so)

As well, if I do the ldd command:
[root@server site-packages]# ldd _mysql.so
./_mysql.so: /usr/lib64/libmysqlclient_r.so.15: version `libmysqlclient_15' not found (required by ./_mysql.so)
linux-vdso.so.1 => (0x00007fffe877c000)
libmysqlclient_r.so.15 => /usr/lib64/libmysqlclient_r.so.15 (0x00002ac825f2c000)
libz.so.1 => /usr/lib64/libz.so.1 (0x00002ac8262ae000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00002ac8264c2000)
libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00002ac8266dd000)
libnsl.so.1 => /lib64/libnsl.so.1 (0x00002ac826916000)
libm.so.6 => /lib64/libm.so.6 (0x00002ac826b2e000)
libssl.so.6 => /lib64/libssl.so.6 (0x00002ac826db1000)
libcrypto.so.6 => /lib64/libcrypto.so.6 (0x00002ac826ffe000)
libc.so.6 => /lib64/libc.so.6 (0x00002ac82734f000)
/lib64/ld-linux-x86-64.so.2 (0x00000031ca000000)
libgssapi_krb5.so.2 => /usr/lib64/libgssapi_krb5.so.2 (0x00002ac8276a7000)
libkrb5.so.3 => /usr/lib64/libkrb5.so.3 (0x00002ac8278d6000)
libcom_err.so.2 => /lib64/libcom_err.so.2 (0x00002ac827b6b000)
libk5crypto.so.3 => /usr/lib64/libk5crypto.so.3 (0x00002ac827d6d000)
libdl.so.2 => /lib64/libdl.so.2 (0x00002ac827f93000)
libkrb5support.so.0 => /usr/lib64/libkrb5support.so.0 (0x00002ac828197000)
libkeyutils.so.1 => /lib64/libkeyutils.so.1 (0x00002ac82839f000)
libresolv.so.2 => /lib64/libresolv.so.2 (0x00002ac8285a2000)
libselinux.so.1 => /lib64/libselinux.so.1 (0x00002ac8287b7000)
libsepol.so.1 => /lib64/libsepol.so.1 (0x00002ac8289d0000)

So what is this about version `libmysqlclient_15' not found ?
it seems to be finding it but not finding it????
 
Old 06-25-2011, 05:36 PM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 1,465

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
Looks like it wants version 15 to me. I don't see any indication that it is finding it. You need to reinstall the library that your version of mysql was built with, or else upgrade mysql and the python wrappers to the newer version.
 
Old 06-27-2011, 12:09 PM   #3
mignonnedavis
LQ Newbie
 
Registered: Apr 2011
Posts: 6

Original Poster
Rep: Reputation: 0
If I reinstall 15 do you think it can co-exist with 16? I mean, I'd think so, but it seems that every time I do even the tiniest changes or upgrades that have to do with mysql I cause giant problems on our server, so I'm truly terrified to try anything with any risk at at all. Not a good way to be, but I've just been burned so many times...
 
  


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
libmysqlclient.so.15 ... killing all my scripts. And MySQL won't start anyway. punt Fedora 1 08-03-2009 07:51 AM
Amarok Won't Start - missing libmysqlclient.so.15 RAdams Linux - Software 2 05-26-2006 01:30 AM
libmysqlclient.so.10 Tredo Linux - General 1 11-30-2004 01:05 PM
libmysqlclient.so.10()(64bit) not found PhilipMac Linux - Software 5 11-02-2004 05:48 PM
libmysqlclient.so.10()(64bit) not found; is there though PhilipMac Linux - General 3 09-23-2004 01:17 PM


All times are GMT -5. The time now is 05:23 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