Hello,
We would like to install DBD::Sybase on Solaris 2.9.
We have perl 5.6.1 coming with the system, with DBI 1.54 installed.
Our Sybase OpenClient is 12.5.3 (32bits).
A lot of similar errors occur when running make test :
PERL_DL_NONLAZY=1 /bin/perl -Iblib/arch -Iblib/lib
-I/usr/perl5/5.6.1/lib/sun4-solaris-64int -I/usr/perl5/5.6.1/lib -e 'use
Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/autocommit....NOK 2/9
# Failed test 'use DBD::Sybase;'
# at t/autocommit.t line 18.
# Tried to use 'DBD::Sybase'.
# Error: Can't load 'blib/arch/auto/DBD/Sybase/Sybase.so' for module
DBD::Sybase: ld.so.1: perl: fatal: relocation error: file
blib/arch/auto/DBD/Sybase/Sybase.so: symbol comn_malloc: referenced symbol not
found at /usr/perl5/5.6.1 /lib/sun4-solaris-64int/DynaLoader.pm line 206.
# Compilation failed in require at (eval 9) line 2.
# BEGIN failed--compilation aborted at t/autocommit.t line 18.
Had to create DBD::Sybase::dr::imp_data_size unexpectedly at
/usr/perl5/site_perl/5.6.1/sun4-solaris-64int/DBI.pm line 1195.
Use of uninitialized value in subroutine entry at
/usr/perl5/site_perl/5.6.1/sun4-solaris-64int/DBI.pm line 1195.
Had to create DBD::Sybase::db::imp_data_size unexpectedly at
/usr/perl5/site_perl/5.6.1/sun4-solaris-64int/DBI.pm line 1195.
Use of uninitialized value in subroutine entry at
/usr/perl5/site_perl/5.6.1/sun4-solaris-64int/DBI.pm line 1195.
Undefined subroutine &DBD::Sybase::db::_login called at blib/lib/DBD/Sybase.pm
line 94.
# Looks like you planned 9 tests but only ran 2.
# Looks like you failed 1 test of 2 run.
# Looks like your test died just after 2.
t/autocommit....dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 2-9
Failed 8/9 tests, 11.11% okay
...
We don't know if using a recent version of perl would help ?
We had no problem to install this module on Linux with perl 5.8.0.
or
--