PEPPLER.ORG
Michael Peppler
Sybase Consulting
Menu
Home
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
Freeware
Sybperl
Sybase::Simple
DBD::Sybase
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
FAQs
Sybase on Linux FAQ
Sybperl FAQ
Personal
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: "Wong Pei Hwa" <PeiHwa at techsemicon dot com dot sg>
Subject: Sybperl problem
Date: Jan 30 2004 2:50AM

Hi,
	
	I am having intermittent SQL Server connection timed out problem when we connect to ASIQ12.4.3. 

	I suspect it is due to the DBlib.pm since this is the perl module used to connect to it. 
	Then, I install the latest version which is 1.46 but it still occur. 

	I realise during the installation, the following error occur and the make test pass 50%. I wonder this is related to my problem. 

Sybase OpenClient 12.5 found.
Writing Makefile for Sybase::BCP
Writing Makefile for Sybase::BLK
Note (probably harmless): No library found for -lblk - (I wonder this is important)
Writing Makefile for Sybase::CTlib
Writing Makefile for Sybase::DBlib
Writing Makefile for Sybase::Sybperl
Writing Makefile for Sybase

mon01% make test
PERL_DL_NONLAZY=1 /bin/perl -Iblib/arch -Iblib/lib -I/usr/local/lib/perl5/5.00503/sun4-solaris -I/usr/local/lib/perl5/5.00503 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/1_db_dblib........ok
t/1_db_money........ok
t/2_ct_ctlib........Can't load 'blib/arch/auto/Sybase/CTlib/CTlib.so' for module Sybase::CTlib: ld.so.1: /bin/perl: fatal: relocation error: file blib/arch/auto/Sybase/CTlib/CTlib.so: symbol blk_drop: referenced symbol not found at /usr/local/lib/perl5/5.00503/sun4-solaris/DynaLoader.pm line 169.

 at t/2_ct_ctlib.t line 11
BEGIN failed--compilation aborted at t/2_ct_ctlib.t line 11.
dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-30
        Failed 30/30 tests, 0.00% okay
t/2_ct_cursor.......Can't load 'blib/arch/auto/Sybase/CTlib/CTlib.so' for module Sybase::CTlib: ld.so.1: /bin/perl: fatal: relocation error: file blib/arch/auto/Sybase/CTlib/CTlib.so: symbol blk_drop: referenced symbol not found at /usr/local/lib/perl5/5.00503/sun4-solaris/DynaLoader.pm line 169.

 at t/2_ct_cursor.t line 14
BEGIN failed--compilation aborted at t/2_ct_cursor.t line 14.
dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-22
        Failed 22/22 tests, 0.00% okay
t/2_ct_nsql.........Can't load 'blib/arch/auto/Sybase/CTlib/CTlib.so' for module Sybase::CTlib: ld.so.1: /bin/perl: fatal: relocation error: file blib/arch/auto/Sybase/CTlib/CTlib.so: symbol blk_drop: referenced symbol not found at /usr/local/lib/perl5/5.00503/sun4-solaris/DynaLoader.pm line 169.

 at t/2_ct_nsql.t line 9
BEGIN failed--compilation aborted at t/2_ct_nsql.t line 9.
dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-4
        Failed 4/4 tests, 0.00% okay
t/2_ct_prepare......Can't load 'blib/arch/auto/Sybase/CTlib/CTlib.so' for module Sybase::CTlib: ld.so.1: /bin/perl: fatal: relocation error: file blib/arch/auto/Sybase/CTlib/CTlib.so: symbol blk_drop: referenced symbol not found at /usr/local/lib/perl5/5.00503/sun4-solaris/DynaLoader.pm line 169.

 at t/2_ct_prepare.t line 9
BEGIN failed--compilation aborted at t/2_ct_prepare.t line 9.
dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-15
        Failed 15/15 tests, 0.00% okay
t/2_ct_xblk.........Can't load 'blib/arch/auto/Sybase/CTlib/CTlib.so' for module Sybase::CTlib: ld.so.1: /bin/perl: fatal: relocation error: file blib/arch/auto/Sybase/CTlib/CTlib.so: symbol blk_drop: referenced symbol not found at /usr/local/lib/perl5/5.00503/sun4-solaris/DynaLoader.pm line 169.

 at t/2_ct_xblk.t line 11
BEGIN failed--compilation aborted at t/2_ct_xblk.t line 11.
dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-14
        Failed 14/14 tests, 0.00% okay
t/3_bcp.............ok
t/4_blk.............Can't load 'blib/arch/auto/Sybase/CTlib/CTlib.so' for module Sybase::CTlib: ld.so.1: /bin/perl: fatal: relocation error: file blib/arch/auto/Sybase/CTlib/CTlib.so: symbol blk_drop: referenced symbol not found at /usr/local/lib/perl5/5.00503/sun4-solaris/DynaLoader.pm line 169.

 at blib/lib/Sybase/BLK.pm line 312
BEGIN failed--compilation aborted at blib/lib/Sybase/BLK.pm line 312.
BEGIN failed--compilation aborted at t/4_blk.t line 12.
dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-19
        Failed 19/19 tests, 0.00% okay
t/5_sybperl.........ok
t/5_sybperl_dbmoney.ok
Failed Test  Status Wstat Total Fail  Failed  List of failed
-------------------------------------------------------------------------------
t/2_ct_ctlib.t  255 65280    30   30 100.00%  1-30
t/2_ct_cursor.t 255 65280    22   22 100.00%  1-22
t/2_ct_nsql.t   255 65280     4    4 100.00%  1-4
t/2_ct_prepare. 255 65280    15   15 100.00%  1-15
t/2_ct_xblk.t   255 65280    14   14 100.00%  1-14
t/4_blk.t       255 65280    19   19 100.00%  1-19
Failed 6/11 test scripts, 45.45% okay. 104/208 subtests failed, 50.00% okay.
*** Error code 29
make: Fatal error: Command failed for target `test_dynamic'

Regards, 
Pei Hwa
Database & Unix Administration, IS&S
TECH Semiconductor (S) Pte Ltd
Email: 
DID: (65)6360-7253
Fax: (65)6365-2018
Pgr: 95533470