snaaps
Verified User
hello,
Whe have a problem with installing the perl DBD::mysql module
Whe run:
perl -MCPAN -e shell
cpan>install DBD::mysql
Gives these errors:
tried to install with yum:
Note there is no libmysqlclient.so.14 on our server, but there is a file named: libmysqlclient.so.15
Tried to install manualy:
wget http://www.cpan.org/modules/by-modul...-2.9002.tar.gz
tar xvzf DBD-mysql-2.9002.tar.gz
cd DBD-mysql-2.9002
perl Makefile.PL
Whe have a problem with installing the perl DBD::mysql module
Whe run:
perl -MCPAN -e shell
cpan>install DBD::mysql
Gives these errors:
PHP:
for user 'root'@'localhost' (using password: NO) at t/76multi_statement.t line 15
t/80procs...................skipped
all skipped: ERROR: Access denied for user 'root'@'localhost' (using password: NO). Can't continue test
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/00base.t 2 512 6 12 200.00% 1-6
t/40blobs.t 255 65280 ?? ?? % ??
32 tests skipped.
Failed 2/34 test scripts, 94.12% okay. 6/6 subtests failed, 0.00% okay.
make: *** [test_dynamic] Error 255
/usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force
tried to install with yum:
PHP:
--> Processing Dependency: libmysqlclient.so.14 for package: perl-DBD-MySQL
--> Finished Dependency Resolution
Error: Missing Dependency: libmysqlclient.so.14 is needed by package perl-DBD-MySQL
Tried to install manualy:
wget http://www.cpan.org/modules/by-modul...-2.9002.tar.gz
tar xvzf DBD-mysql-2.9002.tar.gz
cd DBD-mysql-2.9002
perl Makefile.PL
PHP:
# make
gcc -c -I/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/auto/DBI -I/usr/include/mysql -I/usr/local/include -L/usr/local/lib -fno-strength-reduce -D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -DVERSION=\"2.9002\" -DXS_VERSION=\"2.9002\" -fPIC "-I/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE" mysql.c
mysql.xs: In function `XS_DBD__mysql__dr__admin_internal':
mysql.xs:101: error: too few arguments to function `mysql_shutdown'
make: *** [mysql.o] Error 1