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: "McCarthy, John" <JMcCarthy at citistreetonline dot com>
Subject: CT Lib Problem
Date: May 14 2003 3:14PM

I am using a CGI perl script shown here:

#! /usr/local/apps/perl-5.6.0/bin/perl -w

use CGI qw(:standard);
use Sybase::DBlib;
#use Sybase::CTlib;
use strict;

my ($q,$i );
$q = new CGI;

print header;
print "Test\n";
exit:
__END__

With the code as shown, everything works at the command line and in a
browser.   However, when I comment out the DBlib line and uncomment the
CTlib line, the browser reports the error message below, but running at the
command line produces no errors.  Anyone got any ideas?

TIA,

John
Ph. 904 791-2526
JMcCarthy@CitiStreetOnline.com


Open Client Message:
Message number: LAYER = (5) ORIGIN = (3) SEVERITY = (5) NUMBER = (131)
Message String: ct_init(): network packet layer: internal net library error:
Attempt to load protocol driver failed
Sybase::CTlib initialize: ct_init() failed at
/usr/local/apps/perl-5.6.0/lib/5.6.0/PA-RISC2.0/DynaLoader.pm line 219.
Compilation failed in require at /usr/local/apache/cgi-bin/DEV3/New.p line
6.
BEGIN failed--compilation aborted at /usr/local/apache/cgi-bin/DEV3/New.p
line 6.
[Wed May 14 10:37:14 2003] [error] [client 172.18.8.107] Premature end of
script headers: /usr/local/apache/cgi-bin/DEV3/New.p