shlomi-noach / openarkkit

Automatically exported from code.google.com/p/openarkkit
24 stars 16 forks source link

I am getting an error while running oak-show-limits #2

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. I am executing this command after installing 
[root@rhel scripts-2.3]# oak-show-limits -H 192.168.1.5 -u root -p root -P
3306 -d bulk

I am getting this error,

Traceback (most recent call last):
  File "/usr/bin/oak-show-limits", line 21, in ?
    import MySQLdb
  File "/usr/lib/python2.3/site-packages/MySQLdb/__init__.py", line 19, in ?
    import _mysql
ImportError: libmysqlclient_r.so.14: cannot open shared object file: No
such file or directory

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
I am using 2.3, 

[root@rhel openark-kit-84]# uname -a
Linux rhel.mydomain 2.6.9-55.ELsmp #1 SMP Fri Apr 20 17:03:35 EDT 2007 i686
i686 i386 GNU/Linux

[root@rhel openark-kit-84]# vi /etc/*release
Red Hat Enterprise Linux AS release 4 (Nahant Update 5)

Please provide any additional information below.
Am I missing anything here?

Original issue reported on code.google.com by manohar...@gmail.com on 3 Apr 2009 at 7:44

GoogleCodeExporter commented 9 years ago
I got the problem, I was missing the libmysql path :), 
Working as expected. great work.

Original comment by manohar...@gmail.com on 3 Apr 2009 at 11:18

GoogleCodeExporter commented 9 years ago
Hi,

Many apologies for answering so late. Issue tracking setup was wrong.
You're probably missing libmysqlclient, which the python-mysql driver does 
require as
dependency.
So if you install python-mysql with 'yum', I can't see why this would be 
happening.
If you installed it manually, you should also install libmysqlclient. I can 
vouch for
dependencies :)

Original comment by shlomi.n...@gmail.com on 21 Jun 2009 at 11:01