test error installing DBD

test error installing DBD

am 28.03.2005 08:29:42 von Ashok NG

Hi ppl

This may be a common error as i browsed through the net. I am getting
manny errors when i do a make test. Could u please help me to get rid
of this.
Compilation of DBD goes fine..
This is the output i get when i do a make test

PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib -I/usr/perl5/5.6.1/lib/su
n4-solaris-64int -I/usr/perl5/5.6.1/lib -e 'use Test::Harness qw(&runtests $verb
ose); $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: ld.so.1: /usr/bin/perl: fatal: libmysqlcl
ient.so.10: open failed: No such file or directory at /usr/perl5/5.6.1/lib/sun4-
solaris-64int/DynaLoader.pm line 206.
Compilation failed in require at (eval 1) line 3.
Perhaps a required shared library or dll isn't installed where expected
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 'blib/arch/auto/DBD/
mysql/mysql.so' for module DBD::mysql: ld.so.1: /usr/bin/perl: fatal: libmysqlcl
ient.so.10: open failed: No such file or directory at /usr/perl5/5.6.1/lib/sun4-
solaris-64int/DynaLoader.pm line 206.
Compilation failed in require at (eval 1) line 3.
Perhaps a required shared library or dll isn't installed where expected
t/10dsnlist........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-9
Failed 9/9 tests, 0.00% okay
t/20createdrop.....install_driver(mysql) failed: Can't load 'blib/arch/auto/DBD/
mysql/mysql.so' for module DBD::mysql: ld.so.1: /usr/bin/perl: fatal: libmysqlcl
ient.so.10: open failed: No such file or directory at /usr/perl5/5.6.1/lib/sun4-
solaris-64int/DynaLoader.pm line 206.
Compilation failed in require at (eval 1) line 3.
Perhaps a required shared library or dll isn't installed where expected
t/20createdrop.....dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-5
Failed 5/5 tests, 0.00% okay


....etc,,

Please help me ASAP.








--


[Try hard. Nothing in life is free:Deb McKean]
Regards,
Ashok

--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org

Re: test error installing DBD

am 28.03.2005 08:38:23 von Rudy Lippan

On Mon, 28 Mar 2005, Ashok NG wrote:

> Hi ppl

Hi person.

>
> This may be a common error as i browsed through the net. I am getting
> manny errors when i do a make test. Could u please help me to get rid
> of this.
> Compilation of DBD goes fine..
> This is the output i get when i do a make test
>

You need to make sure that DBD::mysql is able to find the shared object for the
mysql client librareis. Make sure that the correct mysql_config is the first one
in you PATH before running Makefile.PL


-r



--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org

RE: test error installing DBD

am 28.03.2005 09:38:56 von Yair Lapin

If you try to install mysql dbd in solaris you've a problem. The linkage
stage fail, not always , sometimes. There different reasons for this, depend
which solaris, mysql and perl interpreter you've. You can find a lot
information in mysql forums and google forum (perl/modules).

-----Original Message-----
From: Ashok NG [mailto:ngashok@gmail.com]
Sent: Monday, March 28, 2005 8:30 AM
To: msql-mysql-modules@lists.mysql.com
Subject: test error installing DBD


Hi ppl

This may be a common error as i browsed through the net. I am getting
manny errors when i do a make test. Could u please help me to get rid
of this.
Compilation of DBD goes fine..
This is the output i get when i do a make test

PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib
-I/usr/perl5/5.6.1/lib/su
n4-solaris-64int -I/usr/perl5/5.6.1/lib -e 'use Test::Harness qw(&runtests
$verb
ose); $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: ld.so.1: /usr/bin/perl: fatal:
libmysqlcl
ient.so.10: open failed: No such file or directory at
/usr/perl5/5.6.1/lib/sun4-
solaris-64int/DynaLoader.pm line 206.
Compilation failed in require at (eval 1) line 3.
Perhaps a required shared library or dll isn't installed where expected
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
'blib/arch/auto/DBD/
mysql/mysql.so' for module DBD::mysql: ld.so.1: /usr/bin/perl: fatal:
libmysqlcl
ient.so.10: open failed: No such file or directory at
/usr/perl5/5.6.1/lib/sun4-
solaris-64int/DynaLoader.pm line 206.
Compilation failed in require at (eval 1) line 3.
Perhaps a required shared library or dll isn't installed where expected
t/10dsnlist........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-9
Failed 9/9 tests, 0.00% okay
t/20createdrop.....install_driver(mysql) failed: Can't load
'blib/arch/auto/DBD/
mysql/mysql.so' for module DBD::mysql: ld.so.1: /usr/bin/perl: fatal:
libmysqlcl
ient.so.10: open failed: No such file or directory at
/usr/perl5/5.6.1/lib/sun4-
solaris-64int/DynaLoader.pm line 206.
Compilation failed in require at (eval 1) line 3.
Perhaps a required shared library or dll isn't installed where expected
t/20createdrop.....dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-5
Failed 5/5 tests, 0.00% okay


....etc,,

Please help me ASAP.








--


[Try hard. Nothing in life is free:Deb McKean]
Regards,
Ashok

--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=yairl@savion.huji.ac.il

--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org

Re: test error installing DBD

am 28.03.2005 11:37:29 von David Logan

Yair Lapin wrote:

>If you try to install mysql dbd in solaris you've a problem. The linkage
>stage fail, not always , sometimes. There different reasons for this, depend
>which solaris, mysql and perl interpreter you've. You can find a lot
>information in mysql forums and google forum (perl/modules).
>
>-----Original Message-----
>From: Ashok NG [mailto:ngashok@gmail.com]
>Sent: Monday, March 28, 2005 8:30 AM
>To: msql-mysql-modules@lists.mysql.com
>Subject: test error installing DBD
>
>
>Hi ppl
>
>This may be a common error as i browsed through the net. I am getting
>manny errors when i do a make test. Could u please help me to get rid
>of this.
>Compilation of DBD goes fine..
>This is the output i get when i do a make test
>
>PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib
>-I/usr/perl5/5.6.1/lib/su
>n4-solaris-64int -I/usr/perl5/5.6.1/lib -e 'use Test::Harness qw(&runtests
>$verb
>ose); $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: ld.so.1: /usr/bin/perl: fatal:
>libmysqlcl
>ient.so.10: open failed: No such file or directory at
>/usr/perl5/5.6.1/lib/sun4-
>solaris-64int/DynaLoader.pm line 206.
>Compilation failed in require at (eval 1) line 3.
>Perhaps a required shared library or dll isn't installed where expected
>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
>'blib/arch/auto/DBD/
>mysql/mysql.so' for module DBD::mysql: ld.so.1: /usr/bin/perl: fatal:
>libmysqlcl
>ient.so.10: open failed: No such file or directory at
>/usr/perl5/5.6.1/lib/sun4-
>solaris-64int/DynaLoader.pm line 206.
>Compilation failed in require at (eval 1) line 3.
>Perhaps a required shared library or dll isn't installed where expected
>t/10dsnlist........dubious
> Test returned status 255 (wstat 65280, 0xff00)
>DIED. FAILED tests 1-9
> Failed 9/9 tests, 0.00% okay
>t/20createdrop.....install_driver(mysql) failed: Can't load
>'blib/arch/auto/DBD/
>mysql/mysql.so' for module DBD::mysql: ld.so.1: /usr/bin/perl: fatal:
>libmysqlcl
>ient.so.10: open failed: No such file or directory at
>/usr/perl5/5.6.1/lib/sun4-
>solaris-64int/DynaLoader.pm line 206.
>Compilation failed in require at (eval 1) line 3.
>Perhaps a required shared library or dll isn't installed where expected
>t/20createdrop.....dubious
> Test returned status 255 (wstat 65280, 0xff00)
>DIED. FAILED tests 1-5
> Failed 5/5 tests, 0.00% okay
>
>
>...etc,,
>
>Please help me ASAP.
>
>
>
>
>
>
>
>
>
>
I must admit I haven't had any problem building on Solaris 8 or 9, sparc
or intel. Just make sure your linkage paths are set. I tend to use the
crle command (man crle) and set the correct paths through there. This is
similar to the linux ldconfig command and the linker will look there
first for the appropriate paths.

Regards

--

David Logan
South Australia

when in trouble, or in doubt
run in circles, scream and shout


--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org