Re: test error installing DBD

David Logan <[email protected]>
Newsgroups gmane.comp.db.mysql.perl
Message-ID <[email protected]>
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:[email protected]] 
>Sent: Monday, March 28, 2005 8:30 AM
>To: [email protected]
>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/[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.