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: "Natarajan (Ravi) Murugaiyan" <murugaiy at ncsa dot uiuc dot edu>
Subject: SYBASE variable
Date: Sep 10 1998 2:33PM


I have trouble getting a ctlib perl script to recognize SYBASE
environment variable:

#!/usr/bin/perl

$ENV{SYBASE} = "/usr/local/sybase/prod";
use Sybase::CTlib;

produces following error message when run:
 
 
The context allocation routine failed when it tried to load localization files!!
One or more following problems may caused the failure
 
Your sybase home directory is /usr/local/sybase. Check the environment variable SYBASE if it is not the one you want!
Cannot access file /usr/local/sybase/locales/locales.dat
Sybase::CTlib initialize: cs_ctx_alloc() failed at /afs/ncsa.uiuc.edu/packages/perl/perl5.004/SunOS_5.4/lib/sun4-solaris/5.004/DynaLoader.pm line 172.


-------------------------------------------------------------------------
Natarajan Murugaiyan(Ravi) 		Phone 	(217) 333 - 1112 
Alliance Information Management	  	Email   murugaiy@ncsa.uiuc.edu
Room 125, 2301 Fox Drive
NCSA, University of Illinois at Urbana/Champaign