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: "Robert Bresner" <rbresner at olf dot com>
Subject: ct_init() error, looking for ctlib.loc
Date: May 17 1999 7:54PM

Hi there...

Open Client Message:
Message number: LAYER = (1) ORIGIN = (1) SEVERITY = (4) NUMBER = (118)
Message String: ct_init(): Unable to find file
/usr/local/sybase11/locales/us_english/iso_1/ctlib.loc
Sybase::CTlib initialize: ct_init() failed at
/usr/local/lib/perl5/sun4-solaris-ultra/5.00404/DynaLoader.pm line 185.
BEGIN failed--compilation aborted at ./psql.pl line 10.

Line 10: use Sybase::CTlib;


I get this error message trying to run a perl script using
Sybase::CTlib.
The real problem line, here, is this:
  Message String: ct_init(): Unable to find file
/usr/local/sybase11/locales/us_english/iso_1/ctlib.loc
The path leading to the ctlib.loc file is incorrect. And Asking around
here, 
I keep hearing that if I set some environment variable, then CTlib will
get the path
to the file from the environment variable. But no one can tell me
what that variable should be, or even if that's the problem..
So, I turn to the experts. 

I'm running Perl 5.004_04 on Solaris 2.5 
Sybase 11.1.1
# @(#)CTlib.pm	1.26	12/30/97

If it makes any difference, I have several Sybase::Sybperl 
scripts that run just fine. 

Thanks in advance for any clues

----------------------------------------
Robert Bresner          rbresner@olf.com
Open Link Financial    516-227-6600 x216
http://www.olf.com/    fax: 516-227-1799
----------------------------------------
Opinions expressed are explicitly my own
"No more talking!  Cerebus has a SWORD!"