LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-21-2012, 01:17 AM   #1
mahi_nix
Member
 
Registered: Aug 2010
Distribution: CentOS, RHEL, Ubuntu,
Posts: 154

Rep: Reputation: 16
Issue while running mytop comman in Ubuntu 10.04


Hi Friends,

I have installed Mysql-5.5 server in my ubuntu 10.04 and i wanted to run mytop command to check the server performance. while i am giving the command mytop ubuntu giving me the below error message.

Code:
root@MORDORSQL2:~# mytop
"my" variable $up_width masks earlier declaration in same scope at /usr/bin/mytop line 864.
install_driver(mysql) failed: Can't load '/usr/lib/perl5/auto/DBD/mysql/mysql.so' for module DBD::mysql: libmysqlclient.so.16: wrong ELF class: ELFCLASS32 at /usr/lib/perl/5.10/DynaLoader.pm line 193.
 at (eval 12) line 3
Compilation failed in require at (eval 12) line 3.
Perhaps a required shared library or dll isn't installed where expected
 at /usr/bin/mytop line 274
Anyone have any idea how to fix this error.

Thanks in advance,
 
Old 01-22-2012, 08:23 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,326
Blog Entries: 28

Rep: Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142
The second line of the code you posted says the culprit is a missing PERL file, /usr/lib/perl5/auto/DBD/mysql/mysql.so.

Is that file present on your machine?

Last edited by frankbell; 01-22-2012 at 08:24 PM.
 
Old 01-23-2012, 12:55 AM   #3
mahi_nix
Member
 
Registered: Aug 2010
Distribution: CentOS, RHEL, Ubuntu,
Posts: 154

Original Poster
Rep: Reputation: 16
Hi frankbell,

Thanks for your reply.

The File /usr/lib/perl5/auto/DBD/mysql/mysql.so is present in the system.

Thank You,
 
Old 01-23-2012, 03:50 AM   #4
mahi_nix
Member
 
Registered: Aug 2010
Distribution: CentOS, RHEL, Ubuntu,
Posts: 154

Original Poster
Rep: Reputation: 16
Hi Guys,

My issue has been resolved. i just uninstall libmysqlclient18 from the server and downgrade it to libmysqlclient16 and mytop stated working.

Thank You,
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Wireless activation issue on FS Li - 2727 running Ubuntu 11.04 Natty Narwhal Scarface758 Linux - Wireless Networking 1 07-26-2011 05:08 AM
Wifi Issue in Ubuntu (Linaro), running on an IGEP board. encima Linux - Wireless Networking 1 03-16-2011 08:25 AM
Issue using iSight on Macbook 3.1, running Ubuntu 10.10 Unleashedbutterfly Linux - Laptop and Netbook 3 12-21-2010 07:24 AM
Resolution issue on Acer AL1916W running Ubuntu Xelopheris Linux - Software 6 06-03-2007 10:39 PM
ulimit comman is for what xshashiy Linux - Software 2 10-05-2005 06:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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

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