My Machine is CentOS 5.11. It is now EOSL but I don't think my error is related to it. The version of perl is 5.20. I am installing DBD::mysql and it is throwing an error
Code:
Checking if libs are available for compiling...
Can't link/include C library 'mysqlclient', aborting.
That was from source package. Now, I tried to use CPAN and same result
Code:
To change these settings, see 'perl Makefile.PL --help' and
'perldoc DBD::mysql::INSTALL'.
Checking if libs are available for compiling...
Can't link/include C library 'mysqlclient', aborting.
Warning: No success on command[/usr/local/bin/perl Makefile.PL]
MICHIELB/DBD-mysql-4.042.tar.gz
/usr/local/bin/perl Makefile.PL -- NOT OK
Failed during this command:
MICHIELB/DBD-mysql-4.042.tar.gz : writemakefile NO '/usr/local/bin/perl Makefile.PL' returned status 512
Note that I have installed mysql-devel
Code:
# rpm -qa | grep -i mysql-devel
MySQL-devel-5.5.14-1.rhel5
Upgrading an OS is not an option as of the moment. I tried running ldconfig but to no avail. Has anyone experience the same error? How did you resolve it?