List:General Discussion« Previous MessageNext Message »
From:Graeme Merrall Date:April 19 1999 3:14am
Subject:Need help with DBD::mysql
View as plain text  
Hi all.
I* was attempting to install the latest DBD::mysql package and ran into some
problems.
System is Linux-2.0.36, Perl 5.005_003, Mysql 3.22.21 and DBD::Mysql 1.2017
(I think - the latest version anyway)

DBI, Perl, MySQL etc installed fine after some massaging. However installing
the DBD stuff caused seom problems. As you can see there is a prob with
mysql.so. I checked the various archies which inferred a recompile was in
order but it didn't seem to help much. Any other clues?

Output attached - apologies for line wrap.

Regards,
 Graeme

gcc -c -I/usr/lib/perl5/site_perl/5.005/i586-linux/auto/DBI -I/usr/local/mys
ql/i
nclude/mysql -I../dbd  -I/usr/lib/perl5/site_perl/5.005/i586-linux/auto/DBI 
-I/u
sr/lib/perl5/5.00503/i586-linux -Dbool=char -DHAS_BOOL -I/usr/local/include 
-O2
   -DVERSION=\"2.0217\" -DXS_VERSION=\"2.0217\" -fpic -I/usr/lib/perl5/5.005
03/i
586-linux/CORE -DDBD_MYSQL -DMyConnect=mysql_dr_connect -DMyLogin=mysql_dr_l
ogin
 mysql.c
Running Mkbootstrap for DBD::mysql ()
chmod 644 mysql.bs
LD_RUN_PATH="/usr/local/mysql/lib/mysql:/lib:/usr/lib/gcc-lib/i486-linux/2.7
.2.3
" gcc -o ../blib/arch/auto/DBD/mysql/mysql.so  -shared -L/usr/local/lib
dbdimp.o

mysql.o -L/usr/local/mysql/lib/mysql    -L/usr/local/mysql/lib/mysql -lmysql
cli
ent -lm -L/usr/lib/gcc-lib/i486-linux/2.7.2.3 -lgcc
chmod 755 ../blib/arch/auto/DBD/mysql/mysql.so
cp mysql.bs ../blib/arch/auto/DBD/mysql/mysql.bs
chmod 644 ../blib/arch/auto/DBD/mysql/mysql.bs
Manifying ../blib/man3/DBD::mysql.3
make[1]: Leaving directory `/usr/src/Msql-Mysql-modules-1.2017/Mysql'
cp dbimon blib/script/dbimon
/usr/bin/perl -I/usr/lib/perl5/5.00503/i586-linux -I/usr/lib/perl5/5.00503 -
MExt
Utils::MakeMaker -e "MY->fixin(shift)" blib/script/dbimon
Manifying blib/man1/dbimon.1

PERL_DL_NONLAZY=1
/usr/bin/perl -I../blib/arch -I../blib/lib -I/usr/lib/perl5/5.
00503/i586-linux -I/usr/lib/perl5/5.00503 -e 'use Test::Harness qw(&runtests
$ve
rbose); $verbose=0; runtests @ARGV;' t/*.t
t/00base............install_driver(mysql) failed: Can't load
'../blib/arch/auto/
DBD/mysql/mysql.so' for module DBD::mysql: File not found at
/usr/lib/perl5/5.00
503/i586-linux/DynaLoader.pm line 169.

 at (eval 1) line 3

 at t/00base.t line 38
dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 4-5
        Failed 2/5


--
KC Multimedia
http://www.kc.co.nz/
ICQ#: 127513
Generous? http://www.cdnow.com/gift/GRAEME@ style="color:#666">stripped

Thread
Need help with DBD::mysqlGraeme Merrall19 Apr