Michael Peppler
Sybase Consulting
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
Sybase on Linux FAQ
Sybperl FAQ
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: Michael Peppler <mpeppler at peppler dot org>
Subject: Re: make test of dblib failing sybperl 2.13 / perl 5.6.1 on OSF 4.0, Sybase 10.0.4 library ASE 11.9.2
Date: Jun 7 2001 10:33PM writes:
 > make test of dblib is failing. I have
 > EXTRA_LIBS= -lsdna -ldnet_stub
 > in CONFIG, and set LD_LIBRARY_PATH to $SYBASE/lib
 > The BCP and ctlib test pass successfully, here is some error output
 > once it hits dblib:
 > ...
 > All tests successful.
 > Files=2, Tests=52,  0 wallclock secs ( 0.25 cusr +  0.03 csys =  0.28
 > CPU)
 > gmake[1]: Leaving directory
 > `/usr/local/ksp/users/billm/sybperl-2.13/CTlib'
 > gmake[1]: Entering directory
 > `/usr/local/ksp/users/billm/sybperl-2.13/DBlib'
 > PERL_DL_NONLAZY=1 /usr/ucb/perl -I../blib/arch -I../blib/lib
 > -I/usr/local/ksp/ALPHA/system/lib/perl5/5.6.1/alpha-dec_osf

Well - the version of perl would normally be unimportant, but it seems
strange that the perl binary used for the test is in /usr/ucb/perl,
but the perl include dir is in /usr/local/ksp/...

 > -I/usr/local/ksp/ALPHA/system/lib/perl5/5.6.1 -e 'use Test::Harness
 > qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
 > t/dblib.............Sybase error: Read from SQL Server failed.
 > OS Error: Bad file number

Can you access the server from the same shell using isql?

Michael Peppler - Data Migrations Inc. - -
International Sybase User Group -
Sybase on Linux mailing list: