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: ckickel at micron dot net (Craig Kickel)
Subject: OpenClient 11.1/Netscape/SybPerl conflict
Date: Oct 7 1997 4:14PM

Hello!

	I have a situation that I'm not sure how to deal with.
To start with, here's what I'm running:

	Sun Solaris 2.5.1
	Sybase Open Client 11.1
	Netscape SuiteSpot 3.0
	SybPerl 2.05

The problem I'm having is with a Sybase configuration change
called for by Netscape.  They require that a line in the new
Sybase file $SYBASE/config/libtcl.cfg be changed
from:

>	libtli.so=tcp unused	;This is the non-threaded tli driver

to:

>	libtli_r.so=tli unused	;This is the threaded tli driver

	That's okay, but it seems to break SybPerl.
Specifically, with the new line in place, I now get the
error "ct_connect(): network packet layer: internal net
library error: Attempt to load protocol driver failed" from
just about everywhere I use SybPerl.

	To make this more interesting, I also get the same error
from isql.  A call to Sybase revealed that, the isql
supplied with OpenClient 11.1 uses CT-Lib and is
incompatible with the libtli_r.so library.  They suggested
that I copy the older 10.x version of isql (built on DB-Lib)
for use with 11.1.

	All well and good, but what can I do to get SybPerl
working again?  For what it's worth, the complete output
from SybPerl's make test is included below.

	--Craig

># make test
>PERL_DL_NONLAZY=1 /usr/bin/perl -I.././blib/arch -I.././blib/lib -I/opt/perl/5.003/lib/sun4-solaris/5.003 -I/opt/perl/5.003/lib -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
>t/bcp...............ok
>All tests successful.
>Files=1,  Tests=9,  1 secs ( 0.42 cusr  0.17 csys =  0.59 cpu)
>PERL_DL_NONLAZY=1 /usr/bin/perl -I.././blib/arch -I.././blib/lib -I/opt/perl/5.003/lib/sun4-solaris/5.003 -I/opt/perl/5.003/lib -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
>t/ctlib.............
>Open Client Message: (In msg_cb)
>Message number: LAYER = (5) ORIGIN = (3) SEVERITY = (5) NUMBER = (4)
>Message String: ct_connect(): network packet layer: internal net library error: Attempt to load protocol driver failed
>ct_connect failed at t/ctlib.t line 43.
>Can't call method "ct_execute" without a package or object reference at t/ctlib.t line 49.
>FAILED tests 2-30
>        Failed 29/30 tests, 3.33% okay
>        Test returned status 255 (wstat 65280)
>t/cursor............
>Open Client Message:
>Message number: LAYER = (5) ORIGIN = (3) SEVERITY = (5) NUMBER = (4)
>Message String: ct_connect(): network packet layer: internal net library error: Attempt to load protocol driver failed
>ct_connect failed at t/cursor.t line 42.
>not ok 2
>-- The user id/password combination may be invalid.
>FAILED tests 2-22
>        Failed 21/22 tests, 4.55% okay
>        Test returned status 255 (wstat 65280)
>Failed 2/2 test scripts, 0.00% okay. 50/52 subtests failed, 3.85% okay.
>*** Error code 29
>make: Fatal error: Command failed for target `test_dynamic'
>Current working directory /opt/perl/sybperl-2.05/CTlib
>*** Error code 1
>make: Fatal error: Command failed for target `test'

_____________________________________________
Craig Kickel             | (208) 368-1417
Software Engineer        | ckickel@micron.net
Micron Internet Services |
_____________________________________________