Up Prev Next
From: Michael Peppler <mpeppler at MBAY dot NET>
Subject: Re: OpenClient 11.1/Netscape/SybPerl conflict
Date: Oct 7 1997 5:12PM
Craig Kickel wrote:
> 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
> > libtli.so=tcp unused ;This is the non-threaded tli driver
> > 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.
The quick and dirty fix is to make a separate directory tree that
has all the same files (ie interface /lib /locales /config /charsets
but with the correct ctlib.cfg file for sybperl, and then make sure
that $SYBASE points to this new place.
To make a more permanent fix I'd need to get some docs on the
differences between libtli and libtli_r, to see what needs to be
done to the code to make it work...
Michael Peppler -||- Data Migrations Inc.
email@example.com -||- http://www.mbay.net/~mpeppler