mtop + directadmin on CentOS 6 x64

tincboy

Verified User
Joined
Aug 14, 2009
Messages
126
I can't install mtop on CentOS 6 beside Directadmin
The error I got using yum to install mtop is
Code:
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: centos.fastbull.org
 * extras: mirrors.prometeus.net
 * rpmforge: mirror.awanti.com
 * updates: mirrors.prometeus.net
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package mtop.noarch 0:0.6.6-1.2.el6.rf will be installed
--> Processing Dependency: perl(DBD::mysql) for package: mtop-0.6.6-1.2.el6.rf.noarch
--> Processing Dependency: perl(Curses) for package: mtop-0.6.6-1.2.el6.rf.noarch
--> Processing Dependency: perl(DBI) for package: mtop-0.6.6-1.2.el6.rf.noarch
--> Running transaction check
---> Package perl-Curses.x86_64 0:1.28-1.el6.rf will be installed
---> Package perl-DBD-MySQL.x86_64 0:4.013-3.el6 will be installed
--> Processing Dependency: libmysqlclient.so.16(libmysqlclient_16)(64bit) for package: perl-DBD-MySQL-4.013-3.el6.x86_64
--> Processing Dependency: libmysqlclient.so.16()(64bit) for package: perl-DBD-MySQL-4.013-3.el6.x86_64
---> Package perl-DBI.x86_64 0:1.609-4.el6 will be installed
--> Finished Dependency Resolution
Error: Package: perl-DBD-MySQL-4.013-3.el6.x86_64 (base)
           Requires: libmysqlclient.so.16()(64bit)
Error: Package: perl-DBD-MySQL-4.013-3.el6.x86_64 (base)
           Requires: libmysqlclient.so.16(libmysqlclient_16)(64bit)
 
This was also asked here:
http://forum.directadmin.com/showthread.php?t=42525

If you don't want to install from source, you can exclude the package perl-DBD-MySQL-* in /etc/yum.conf and upgrade DBD::mysql from CPAN to make mytop to work. Like zEitEr stated in that thread.

Coud be another error will appear containing something about "long|!". In that case look for the line in /usr/bin/mytop and disable it by commenting it like this:
Code:
##    "long|!"              => \$config{long_nums},
It should work fine then.
 
Back
Top