help with install problem, thanks

help with install problem, thanks

am 11.08.2002 23:36:54 von a2b2c2d

OS: Redhat 7.2
Perl: 5.8.0
gcc: 2.96

I have tried just about everything and still cant get the module to install.
I have looked through the mailing list archives but I did not find anyone
with the same error as me but there was a lot of errors like it. What can I
do to fix this error? Thanks for the help

[root@localhost Msql-Mysql-modules-1.2219]# perl Makefile.PL
--libs=-L/usr/lib/gcc-lib/i386-redhat-linux/2.96 -lgcc
##this all went fine and i know thats the right path

[root@localhost Msql-Mysql-modules-1.2219]# make
## this went well then on make test i get all this:

[root@localhost Msql-Mysql-modules-1.2219]# make test
make[1]: Entering directory `/www/home/roy/Msql-Mysql-modules-1.2219/mysql'
make[1]: Leaving directory `/www/home/roy/Msql-Mysql-modules-1.2219/mysql'
make[1]: Entering directory `/www/home/roy/Msql-Mysql-modules-1.2219/mysql'
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, '../blib/lib', '../blib/arch')" t/*.t
t/00base...........install_driver(mysql) failed: Can't load
'/www/home/roy/Msql-Mysql-modules-1.2219/mysql/../blib/arch/ auto/DBD/mysql/mysql.so'
for module DBD::mysql:
/www/home/roy/Msql-Mysql-modules-1.2219/mysql/../blib/arch/a uto/DBD/mysql/mysql.so:
undefined symbol: __error at
/usr/local/lib/perl5/5.8.0/i686-linux/DynaLoader.pm line 229.
at (eval 1) line 3
Compilation failed in require at (eval 1) line 3.
Perhaps a required shared library or dll isn't installed where expected
at t/00base.t line 38
t/00base...........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 4-5
Failed 2/5 tests, 60.00% okay
t/10dsnlist........install_driver(mysql) failed: Can't load
'/www/home/roy/Msql-Mysql-modules-1.2219/mysql/../blib/arch/ auto/DBD/mysql/mysql.so'
for module DBD::mysql:
/www/home/roy/Msql-Mysql-modules-1.2219/mysql/../blib/arch/a uto/DBD/mysql/mysql.so:
undefined symbol: __error at
/usr/local/lib/perl5/5.8.0/i686-linux/DynaLoader.pm line 229.
at (eval 1) line 3
Compilation failed in require at (eval 1) line 3.
Perhaps a required shared library or dll isn't installed where expected
at t/10dsnlist.t line 45
t/10dsnlist........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-3
Failed 3/3 tests, 0.00% okay
t/20createdrop.....install_driver(mysql) failed: Can't load
'/www/home/roy/Msql-Mysql-modules-1.2219/mysql/../blib/arch/ auto/DBD/mysql/mysql.so'
for module DBD::mysql:
/www/home/roy/Msql-Mysql-modules-1.2219/mysql/../blib/arch/a uto/DBD/mysql/mysql.so:
undefined symbol: __error at
/usr/local/lib/perl5/5.8.0/i686-linux/DynaLoader.pm line 229.
at (eval 1) line 3
Compilation failed in require at (eval 1) line 3.
Perhaps a required shared library or dll isn't installed where expected
at t/20createdrop.t line 47
t/20createdrop.....dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-5
Failed 5/5 tests, 0.00% okay
t/30insertfetch....Illegal character in prototype for main::ErrMsg : @_ at
t/lib.pl line 253.
Illegal character in prototype for main::ErrMsgF : @_ at t/lib.pl line 254.
install_driver(mysql) failed: Can't load
'/www/home/roy/Msql-Mysql-modules-1.2219/mysql/../blib/arch/ auto/DBD/mysql/mysql.so'
for module DBD::mysql:
/www/home/roy/Msql-Mysql-modules-1.2219/mysql/../blib/arch/a uto/DBD/mysql/mysql.so:
undefined symbol: __error at
/usr/local/lib/perl5/5.8.0/i686-linux/DynaLoader.pm line 229.
at (eval 1) line 3
Compilation failed in require at (eval 1) line 3.
Perhaps a required shared library or dll isn't installed where expected
at t/30insertfetch.t line 48
t/30insertfetch....dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-11
Failed 11/11 tests, 0.00% okay
t/40bindparam......Illegal character in prototype for main::ErrMsg : @_ at
t/lib.pl line 253.
Illegal character in prototype for main::ErrMsgF : @_ at t/lib.pl line 254.
install_driver(mysql) failed: Can't load
'/www/home/roy/Msql-Mysql-modules-1.2219/mysql/../blib/arch/ auto/DBD/mysql/mysql.so'
for module DBD::mysql:
/www/home/roy/Msql-Mysql-modules-1.2219/mysql/../blib/arch/a uto/DBD/mysql/mysql.so:
undefined symbol: __error at
/usr/local/lib/perl5/5.8.0/i686-linux/DynaLoader.pm line 229.
at (eval 3) line 3
Compilation failed in require at (eval 3) line 3.
Perhaps a required shared library or dll isn't installed where expected
at t/40bindparam.t line 64
t/40bindparam......dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-28
Failed 28/28 tests, 0.00% okay
t/40blobs..........install_driver(mysql) failed: Can't load
'/www/home/roy/Msql-Mysql-modules-1.2219/mysql/../blib/arch/ auto/DBD/mysql/mysql.so'
for module DBD::mysql:
/www/home/roy/Msql-Mysql-modules-1.2219/mysql/../blib/arch/a uto/DBD/mysql/mysql.so:
undefined symbol: __error at
/usr/local/lib/perl5/5.8.0/i686-linux/DynaLoader.pm line 229.
at (eval 1) line 3
Compilation failed in require at (eval 1) line 3.
Perhaps a required shared library or dll isn't installed where expected
at t/40blobs.t line 68
t/40blobs..........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-11
Failed 11/11 tests, 0.00% okay
t/40listfields.....install_driver(mysql) failed: Can't load
'/www/home/roy/Msql-Mysql-modules-1.2219/mysql/../blib/arch/ auto/DBD/mysql/mysql.so'
for module DBD::mysql:
/www/home/roy/Msql-Mysql-modules-1.2219/mysql/../blib/arch/a uto/DBD/mysql/mysql.so:
undefined symbol: __error at
/usr/local/lib/perl5/5.8.0/i686-linux/DynaLoader.pm line 229.
at (eval 1) line 3
Compilation failed in require at (eval 1) line 3.
Perhaps a required shared library or dll isn't installed where expected
at t/40listfields.t line 57
t/40listfields.....dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-16
Failed 16/16 tests, 0.00% okay
t/40nulls..........install_driver(mysql) failed: Can't load
'/www/home/roy/Msql-Mysql-modules-1.2219/mysql/../blib/arch/ auto/DBD/mysql/mysql.so'
for module DBD::mysql:
/www/home/roy/Msql-Mysql-modules-1.2219/mysql/../blib/arch/a uto/DBD/mysql/mysql.so:
undefined symbol: __error at
/usr/local/lib/perl5/5.8.0/i686-linux/DynaLoader.pm line 229.
at (eval 1) line 3
Compilation failed in require at (eval 1) line 3.
Perhaps a required shared library or dll isn't installed where expected
at t/40nulls.t line 50
t/40nulls..........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-11
Failed 11/11 tests, 0.00% okay
t/40numrows........install_driver(mysql) failed: Can't load
'/www/home/roy/Msql-Mysql-modules-1.2219/mysql/../blib/arch/ auto/DBD/mysql/mysql.so'
for module DBD::mysql:
/www/home/roy/Msql-Mysql-modules-1.2219/mysql/../blib/arch/a uto/DBD/mysql/mysql.so:
undefined symbol: __error at
/usr/local/lib/perl5/5.8.0/i686-linux/DynaLoader.pm line 229.
at (eval 1) line 3
Compilation failed in require at (eval 1) line 3.
Perhaps a required shared library or dll isn't installed where expected
at t/40numrows.t line 59
t/40numrows........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-25
Failed 25/25 tests, 0.00% okay
t/50chopblanks.....install_driver(mysql) failed: Can't load
'/www/home/roy/Msql-Mysql-modules-1.2219/mysql/../blib/arch/ auto/DBD/mysql/mysql.so'
for module DBD::mysql:
/www/home/roy/Msql-Mysql-modules-1.2219/mysql/../blib/arch/a uto/DBD/mysql/mysql.so:
undefined symbol: __error at
/usr/local/lib/perl5/5.8.0/i686-linux/DynaLoader.pm line 229.
at (eval 1) line 3
Compilation failed in require at (eval 1) line 3.
Perhaps a required shared library or dll isn't installed where expected
at t/50chopblanks.t line 57
t/50chopblanks.....dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-35
Failed 35/35 tests, 0.00% okay
t/50commit.........Illegal character in prototype for main::ErrMsg : @_ at
t/lib.pl line 253.
Illegal character in prototype for main::ErrMsgF : @_ at t/lib.pl line 254.
install_driver(mysql) failed: Can't load
'/www/home/roy/Msql-Mysql-modules-1.2219/mysql/../blib/arch/ auto/DBD/mysql/mysql.so'
for module DBD::mysql:
/www/home/roy/Msql-Mysql-modules-1.2219/mysql/../blib/arch/a uto/DBD/mysql/mysql.so:
undefined symbol: __error at
/usr/local/lib/perl5/5.8.0/i686-linux/DynaLoader.pm line 229.
at (eval 1) line 3
Compilation failed in require at (eval 1) line 3.
Perhaps a required shared library or dll isn't installed where expected
at t/50commit.t line 64
t/50commit.........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-30
Failed 30/30 tests, 0.00% okay
t/60leaks..........skipped
all skipped: no reason given
t/ak-dbd...........install_driver(mysql) failed: Can't load
'/www/home/roy/Msql-Mysql-modules-1.2219/mysql/../blib/arch/ auto/DBD/mysql/mysql.so'
for module DBD::mysql:
/www/home/roy/Msql-Mysql-modules-1.2219/mysql/../blib/arch/a uto/DBD/mysql/mysql.so:
undefined symbol: __error at
/usr/local/lib/perl5/5.8.0/i686-linux/DynaLoader.pm line 229.
at (eval 1) line 3
Compilation failed in require at (eval 1) line 3.
Perhaps a required shared library or dll isn't installed where expected
at t/ak-dbd.t line 59
t/ak-dbd...........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-90
Failed 90/90 tests, 0.00% okay
t/dbdadmin.........install_driver(mysql) failed: Can't load
'/www/home/roy/Msql-Mysql-modules-1.2219/mysql/../blib/arch/ auto/DBD/mysql/mysql.so'
for module DBD::mysql:
/www/home/roy/Msql-Mysql-modules-1.2219/mysql/../blib/arch/a uto/DBD/mysql/mysql.so:
undefined symbol: __error at
/usr/local/lib/perl5/5.8.0/i686-linux/DynaLoader.pm line 229.
at (eval 1) line 3
Compilation failed in require at (eval 1) line 3.
Perhaps a required shared library or dll isn't installed where expected
at t/dbdadmin.t line 60
t/dbdadmin.........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-20
Failed 20/20 tests, 0.00% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
------------------------------------------------------------ -------------------
t/00base.t 255 65280 5 2 40.00% 4-5
t/10dsnlist.t 255 65280 3 3 100.00% 1-3
t/20createdrop.t 255 65280 5 5 100.00% 1-5
t/30insertfetch.t 255 65280 11 11 100.00% 1-11
t/40bindparam.t 255 65280 28 28 100.00% 1-28
t/40blobs.t 255 65280 11 11 100.00% 1-11
t/40listfields.t 255 65280 16 16 100.00% 1-16
t/40nulls.t 255 65280 11 11 100.00% 1-11
t/40numrows.t 255 65280 25 25 100.00% 1-25
t/50chopblanks.t 255 65280 35 35 100.00% 1-35
t/50commit.t 255 65280 30 30 100.00% 1-30
t/ak-dbd.t 255 65280 90 90 100.00% 1-90
t/dbdadmin.t 255 65280 20 20 100.00% 1-20
1 test skipped.
Failed 13/14 test scripts, 7.14% okay. 287/290 subtests failed, 1.03% okay.
make[1]: *** [test_dynamic] Error 2
make[1]: Leaving directory `/www/home/roy/Msql-Mysql-modules-1.2219/mysql'
make: *** [test] Error 2
[root@localhost Msql-Mysql-modules-1.2219]#


____________________________________________________________ _____
Send and receive Hotmail on your mobile device: http://mobile.msn.com


------------------------------------------------------------ ---------
Please check "http://www.mysql.com/Manual_chapter/manual_toc.html" before
posting. To request this thread, e-mail msql-mysql-modules-thread1882@lists.mysql.com

To unsubscribe, send a message to the address shown in the
List-Unsubscribe header of this message. If you cannot see it,
e-mail msql-mysql-modules-unsubscribe@lists.mysql.com instead.

Re: help with install problem, thanks

am 12.08.2002 05:12:46 von Jochen Wiedmann

Zitiere "Roy ." :


> undefined symbol: __error at

A typical indicator for mixing binaries from various sources,
for example the MySQL site and the Red Hat distribution.

Either use the binaries that come with your distribution
(Red Hat includes compiled versions of DBI and DBD::mysql)
or compile *everything* (Perl, MySQL, DBI and DBD::mysql,
in that order) from scratch.


Good luck,

Jochen

------------------------------------------------------------ ---------
Please check "http://www.mysql.com/Manual_chapter/manual_toc.html" before
posting. To request this thread, e-mail msql-mysql-modules-thread1883@lists.mysql.com

To unsubscribe, send a message to the address shown in the
List-Unsubscribe header of this message. If you cannot see it,
e-mail msql-mysql-modules-unsubscribe@lists.mysql.com instead.

Re: help with install problem, thanks

am 12.08.2002 05:12:46 von Jochen Wiedmann

Zitiere "Roy ." :


> undefined symbol: __error at

A typical indicator for mixing binaries from various sources,
for example the MySQL site and the Red Hat distribution.

Either use the binaries that come with your distribution
(Red Hat includes compiled versions of DBI and DBD::mysql)
or compile *everything* (Perl, MySQL, DBI and DBD::mysql,
in that order) from scratch.


Good luck,

Jochen

------------------------------------------------------------ ---------
Please check "http://www.mysql.com/Manual_chapter/manual_toc.html" before
posting. To request this thread, e-mail msql-mysql-modules-thread1883@lists.mysql.com

To unsubscribe, send a message to the address shown in the
List-Unsubscribe header of this message. If you cannot see it,
e-mail msql-mysql-modules-unsubscribe@lists.mysql.com instead.