Debian Perl Dbd Mysql Install Linux
When I want to install perl-DBD-MySQL on my CentOS 6.3 system,I get this error:
yum install perl-DBD-MySQL.x86_64
Using --skip-broken
:
What package should I install?
3 Answers
Any time you encounter the installation of a package that complains it 'requires' something, you should try and remember to use this command to determine what RPM package provides this file. In your case the message:
is supposed to be a hint. Granted, it's a little weak, but with this info you can run the following command to determine the package that contains this .so
library file:
which will give you the following:
NOTE: You'll likely get multiple hits, one for each version of this package that's in the yum repositories.
From this you now know which package provides the file, mysql-libs
. So just do this to install it: El guerrero pacifico pdf dan millman.
This package looks to be part of the base installation and was available in the updates repo under CentOS 6.4.
As from your question it is not clear, which version of CentOS
you use and if it is MySQL
or MariaDB
packages for database you have, I will provide my solution, which works on CentOS 7
for MariaDB
.
I have installed MariaDB
engine from https://downloads.mariadb.org/mariadb/repositories/#mirror=kisiek&distro=CentOS&distro_release=centos7-amd64--centos7&version=10.1 and my dependency problem has gone.
As for any other platform, where you might experience similiar problem, try to choose your OS from: https://downloads.mariadb.org/mariadb/repositories/#mirror=kisiekIt didn't require any additional work after installing MariaDB
from their official repository.
But still, the question is not verbose enough to provide proper answer for your case - my answer may or may not be helpful for you.
You can fix your problem using the following command: