[前][次][番号順一覧][スレッド一覧]

mysql:14859

From: Takayuki Okada <Takayuki Okada <okada.takayuki@xxxxxxxxxx>>
Date: Wed, 20 May 2009 17:27:36 +0900
Subject: [mysql 14859] DBD::mysqlのmake testでエラーが発生

Googleで見つけた対処のどれをやってみても、解決できないため、とても困っております。

環境は以下のとおり。
Solaris10(SPARC Enterprise)
Perl 5.8.8
MySQ L5.1.34Community Server
DBD-mysql-4.011
DBI-1.608

-----
# make
cp lib/DBD/mysql.pm blib/lib/DBD/mysql.pm
cp lib/DBD/mysql/GetInfo.pm blib/lib/DBD/mysql/GetInfo.pm
cp lib/DBD/mysql/INSTALL.pod blib/lib/DBD/mysql/INSTALL.pod
cp lib/Bundle/DBD/mysql.pm blib/lib/Bundle/DBD/mysql.pm
gcc -c -I/usr/local/lib/perl5/site_perl/5.8.8/sun4-solaris/auto/DBI -I/opt/mysql/mysql/include -DDBD_MYSQL_INSERT_ID_IS_GOOD -g -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/
include -I/opt/gnu/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"4.011\" -DXS_VERSION=\"4.011\" -fPIC "-I/usr/local/lib/perl5/5.8.8/sun4-solaris/CORE" dbdimp.c
/usr/bin/perl -p -e "s/~DRIVER~/mysql/g" /usr/local/lib/perl5/site_perl/5.8.8/sun4-solaris/auto/DBI/Driver.xst > mysql.xsi
/usr/bin/perl /usr/local/lib/perl5/5.8.8/ExtUtils/xsubpp -typemap /usr/local/lib/perl5/5.8.8/ExtUtils/typemap mysql.xs > mysql.xsc && mv mysql.xsc mysql.c
Warning: duplicate function definition 'do' detected in mysql.xs, line 225
Warning: duplicate function definition 'rows' detected in mysql.xs, line 650
gcc -c -I/usr/local/lib/perl5/site_perl/5.8.8/sun4-solaris/auto/DBI -I/opt/mysql/mysql/include -DDBD_MYSQL_INSERT_ID_IS_GOOD -g -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/
include -I/opt/gnu/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"4.011\" -DXS_VERSION=\"4.011\" -fPIC "-I/usr/local/lib/perl5/5.8.8/sun4-solaris/CORE" mysql.c
Running Mkbootstrap for DBD::mysql ()
chmod 644 mysql.bs
rm -f blib/arch/auto/DBD/mysql/mysql.so
LD_RUN_PATH="/opt/mysql/mysql/lib:/usr/lib" /usr/bin/perl myld gcc -G -L/usr/local/lib -L/opt/gnu/lib dbdimp.o mysql.o -o blib/arch/auto/DBD/mysql/mysql.so \
-L/opt/mysql/mysql/lib -lmysqlclient -lz -lposix4 -lresolv -lsocket -lnsl -lm -L/usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.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
Manifying blib/man3/DBD::mysql::INSTALL.3
Manifying blib/man3/Bundle::DBD::mysql.3
# make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00base....................ok 1/6
# Failed test 'use DBD::mysql;'
t/00base....................NOK 2# in t/00base.t at line 21.
# Tried to use 'DBD::mysql'.
# Error: Can't load '/export/home/ryutsu/DBD-mysql-4.011/blib/arch/auto/DBD/mysql/mysql.so' for module DBD::mysql: ld.so.1: perl: 重大なエラー: 再配置エラー: ファイル /export/home/ryutsu/DBD-mysql-4.
011/blib/arch/auto/DBD/mysql/mysql.so: シンボル mysql_sqlstate: 参照シンボルが見つかりません。 at /usr/local/lib/perl5/5.8.8/sun4-solaris/DynaLoader.pm line 230.
# at (eval 6) line 2
# Compilation failed in require at (eval 6) line 2.
# BEGIN failed--compilation aborted at t/00base.t line 21.
FAILED--Further testing stopped: Unable to load DBD::mysql
*** Error code 29
make: Fatal error: Command failed for target `test_dynamic'

[前][次][番号順一覧][スレッド一覧]

->   14859 2009-05-20 17:27 [Takayuki Okada <okad] DBD::mysqlのmake testでエラーが発生     
     14860 2009-05-20 18:27 ┗[<shin-1@xxxxxxxxxx> ]                                       
     14862 2009-05-21 09:01  ┗[Takayuki Okada <okad]                                     
     14863 2009-05-21 09:58   ┗[Tetsuro IKEDA <ikdtt]                                   
     14864 2009-05-21 10:28    ┗[Takayuki Okada <okad]                                 
     14865 2009-05-21 11:07     ┗[Tetsuro IKEDA <ikdtt]                               
     14866 2009-05-21 12:12      ┗[Takayuki Okada <okad]                             
     14867 2009-05-21 18:51       ┗[Takayuki Okada <okad]