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: Michael Peppler <mpeppler at MBAY dot NET>
Subject: Problem using CTlib
Date: May 5 1998 3:36PM

Simon Yaminian writes:
 >
 > ntares!sy50027 74% !perl5
 > perl5 simon -D prd -U ldr -P loadme -S MORT_TEST
 > Can't load '/usr/local/lib/perl5/site_perl/sun4-solaris/auto/Sybase/CTlib/CTlib.so' for module Sybase::CTlib: ld.so.1: perl5: fatal: libct.so: can't open file: errno=2 at /usr/local/lib/perl5/DynaLoader.pm line 140.
 >  
 >  at /usr/local/lib/perl5/site_perl/Sybase/CTlib.pm line 858
 > BEGIN failed--compilation aborted at simon line 5.

The short answer is to set LD_LIBRARY_PATH to include the Sybase lib
directory, like so:

 csh% setenv LD_LIBRARY_PATH "$SYBASE/lib"

The long answer is that Sybase::CTlib may be slightly misconfigured,
or that the Sybase libraries have been moved since it was
built. Please see the Sybperl FAQ at
http://www.mbay.net/~mpeppler/Sybperl/sybperl-faq.html for further
details.

Michael
-- 
Michael Peppler         -||-  Data Migrations Inc.
mpeppler@datamig.com    -||-  http://www.mbay.net/~mpeppler
Int. Sybase User Group  -||-  http://www.isug.com