Hello,
DBD::Sybase make test fails with the following messages:
PERL_DL_NONLAZY=1 /opt/SXperl/bin/perl -Iblib/arch -Iblib/lib
-I/opt/SXperl/5.6.1/lib/5.6.1/sun4-solaris -I/opt/SXperl/5.6.1/lib/5.6.1 -e 'use
Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/autocommit........
The context allocation routine failed when it tried to load localization files!!
One or more following problems may caused the failure
Your sybase home directory is /opt/syb_version/V12.0. Check the environment variable
SYBASE if it is not the one you want!
Cannot access file /opt/syb_version/V12.0/config/objectid.dat
install_driver(Sybase) failed: DBD::Sybase initialize: cs_ctx_alloc() failed at
/opt/SXperl/5.6.1/lib/5.6.1/sun4-solaris/DynaLoader.pm line 225.
Compilation failed in require at (eval 1) line 3.
at t/autocommit.t line 40
t/autocommit........dubious
Test returned status 255 (wstat 65280, 0xff00)
(same problem with the other tests)
Why does it look there? That's where ASE 11 versions kept that file.
ASE 12 uses $SYBASE/$SYBASE_OCS instead of $SYBASE to look for the config
directory. My environment variables have been properly set.
When I create a symlink (ln -s OCS-12_0/config config), the file is found,
but another error is triggered:
PERL_DL_NONLAZY=1 /opt/SXperl/bin/perl -Iblib/arch -Iblib/lib
-I/opt/SXperl/5.6.1/lib/5.6.1/sun4-solaris -I/opt/SXperl/5.6.1/lib/5.6.1 -e 'use
Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/autocommit........ld.so.1: /opt/SXperl/bin/perl: fatal: relocation error: file
/opt/syb_version/V12.0/OCS-12_0/lib/libtli.so: symbol comn_yield: referenced symbol
not found
t/autocommit........dubious
Test returned status 0 (wstat 9, 0x9)
(same problem with the other tests)
That symbol is in libcomn.so, which is right there in that same
directory.
Environment:
Solaris 8 sparc
ASE 12.0
(SQL Server/12.0/P/Generic/OS/1/OPT/Fri Apr 30 00:01:37 PDT 1999)
Perl 5.6.1
DBI-1.21
DBD-Sybase-0.94 and 0.93
Notice:
All tests are ***successful*** when I run them with Sybase 11.5.1.
I made sure only Sybase 12 was visible when I configured and built.
Any ideas?
Rainer
--
----------------------------------------------------------------------
Rainer J. H. Brandt email: [EMAIL PROTECTED]
Brandt & Brandt Computer GmbH web: www.bb-c.de
Voi�eler Stra�e 12a phone: +49 2441 779891
D 53925 Kall mobile: +49 172 9593205