DBD::Sybase compilation
am 20.03.2007 17:42:21 von rozier
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
--
Re: DBD::Sybase compilation
am 21.03.2007 07:45:19 von michael.peppler
--=_alternative 00251BB4C12572A5_=
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"
You used the 32bit libraries with a 64bit version of perl - this will NOT
work.
You either need to install a 64bit version of the Sybase client (SDK), or
install a 32bit version of perl.
Michael
Extranet
rozier@ipgp.jussieu.fr@sea.gmane.org - 20.03.2007 17:42
Sent by: news@sea.gmane.org
To: dbi-users
cc:
Subject: DBD::Sybase compilation
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
--
This message and any attachments (the "message") is
intended solely for the addressees and is confidential.
If you receive this message in error, please delete it and
immediately notify the sender. Any use not in accord with
its purpose, any dissemination or disclosure, either whole
or partial, is prohibited except formal approval. The internet
can not guarantee the integrity of this message.
BNP PARIBAS (and its subsidiaries) shall (will) not
therefore be liable for the message if modified.
---------------------------------------------
Ce message et toutes les pieces jointes (ci-apres le
"message") sont etablis a l'intention exclusive de ses
destinataires et sont confidentiels. Si vous recevez ce
message par erreur, merci de le detruire et d'en avertir
immediatement l'expediteur. Toute utilisation de ce
message non conforme a sa destination, toute diffusion
ou toute publication, totale ou partielle, est interdite, sauf
autorisation expresse. L'internet ne permettant pas
d'assurer l'integrite de ce message, BNP PARIBAS (et ses
filiales) decline(nt) toute responsabilite au titre de ce
message, dans l'hypothese ou il aurait ete modifie.
--=_alternative 00251BB4C12572A5_=--