mysql:2735
From: Koji Dokai <Koji Dokai <ml@xxxxxxxxxx>>
Date: Sun, 26 Nov 2000 09:29:03 +0900
Subject: [mysql 02735] install_driver(mysql) failed
こんにちは、百海と申します。 MySQL 3.22.32 を RedHat 5.2 にインストールし、DBI経由でアクセスしようと すると以下のようなエラーが出てしまいます。別サーバーの RedHat 6.2 では 問題なく動作していました。 > install_driver(mysql) failed: Can't load > '/usr/lib/perl5/site_perl/i386-linux/auto/DBD/mysql/mysql.so' for module > DBD::mysql: /usr/lib/perl5/site_perl/i386-linux/auto/DBD/mysql/mysql.so: > undefined sym > bol: open64 at /usr/lib/perl5/i386-linux/5.00404/DynaLoader.pm line 168. > at (eval 1) line 2 > Perhaps a required shared library or dll isn't installed where expected > at /home/www/sample.pl line 293 DBI-1.14 をインストールし、Msql-Mysql-modules-1.2215 のインストールの際に make test を行うとやはり上記と同様のエラーが表示されてしまいます。 mysql.so、DynaLoader.pm のファイルも存在しており原因がわからずお手上げ 状態です。同じような現象になられた方がいたらぜひ教えてください。 よろしくお願いします。 > [root@www Msql-Mysql-modules-1.2215]# make test > make[1]: Entering directory `/usr/local/src/Msql-Mysql-modules-1.2215/mysql' > cc -c -I/usr/lib/perl5/site_perl/i386-linux/auto/DBI -I/usr/local/mysql/include -I../dbd -I/usr/lib/perl5/site_perl/i386-linux/auto/DBI -I/usr/lib/perl5/i386-linux/5.00404 -Dbool=char -DHAS_BOOL -I/us > r/local/include -O2 -DVERSION=\"2.0415\" -DXS_VERSION=\"2.0415\" -fpic -I/usr/lib/perl5/i386-linux/5.00404/CORE -DDBD_MYSQL dbdimp.c > cc -c -I/usr/lib/perl5/site_perl/i386-linux/auto/DBI -I/usr/local/mysql/include -I../dbd -I/usr/lib/perl5/site_perl/i386-linux/auto/DBI -I/usr/lib/perl5/i386-linux/5.00404 -Dbool=char -DHAS_BOOL -I/us > r/local/include -O2 -DVERSION=\"2.0415\" -DXS_VERSION=\"2.0415\" -fpic -I/usr/lib/perl5/i386-linux/5.00404/CORE -DDBD_MYSQL mysql.c > Running Mkbootstrap for DBD::mysql () > chmod 644 mysql.bs > LD_RUN_PATH="/usr/local/mysql/lib:/lib:/usr/lib:/usr/lib/gcc-lib/i386-redhat-linux/2.7.2.3" cc -o .././blib/arch/auto/DBD/mysql/mysql.so -shared -L/usr/local/lib dbdimp.o mysql.o -L/usr/local/mysql/l > ib -L/usr/local/mysql/lib -lmysqlclient -lm -lz -L/usr/lib/gcc-lib/i386-redhat-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 > Manifying .././blib/man3/Bundle::DBD::mysql.3 > Manifying .././blib/man3/Mysql.3 > make[1]: Leaving directory `/usr/local/src/Msql-Mysql-modules-1.2215/mysql' > make[1]: Entering directory `/usr/local/src/Msql-Mysql-modules-1.2215/mysql' > PERL_DL_NONLAZY=1 /usr/local/bin/perl -I.././blib/arch -I.././blib/lib -I/usr/lib/perl5/i386-linux/5.00404 -I/usr/lib/perl5 -e 'use Test::Harness qw(&runtests $verbose); $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: .././blib/arch/auto/DBD/mysql/mysql.so: undefined symbol: open64 at /usr/li > b/perl5/i386-linux/5.00404/DynaLoader.pm line 168. > at (eval 1) line 2 > Perhaps a required shared library or dll isn't installed where expected > at t/00base.t line 38 > dubious > Test returned status 2 (wstat 512, 0x200) > Undefined subroutine &Test::Harness::WCOREDUMP called at /usr/lib/perl5/Test/Harness.pm line 252. > make[1]: *** [test_dynamic] Error 2 > make[1]: Leaving directory `/usr/local/src/Msql-Mysql-modules-1.2215/mysql' > make: *** [test] Error 2 Koji Dokai / info@xxxxxxxxxx
-> 2735 2000-11-26 09:29 [Koji Dokai <ml@xxxxx] install_driver(mysql) failed 2737 2000-11-26 20:19 ┗[Satoshi Koiwa <koiwa] 2738 2000-11-27 07:21 ┗[Koji Dokai <ml@xxxxx]