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 peppler dot org>
Subject: /eg/dbcc.pl error
Date: May 5 1999 9:49PM

Thanasis Bothos writes:
 > Hi,
 > When I run /eg/dbcc.pl  (modified to get db names from a file) from the command
 > prompt it runs fine.
 > When I run it from cron it gives me the following error: Any ideas please?
 > 
 > Can't load
 > '/usr/local/lib/perl5/site_perl/sun4-solaris/auto/Sybase/CTlib/CTlib.so' for
 > module Sybase::CTlib: ld.so.1: /usr/local/bin/perl: fatal: libct.so: open
 > failed: No such file or directory at
 > /usr/local/lib/perl5/sun4-solaris/5.00404/DynaLoader.pm line 166.
 > 
 >  at /lucy_b/sybaseUsr/cronscripts/dbcc.pl line 4

LD_LIBRARY_PATH is not set when you run from cron.

Michael
-- 
Michael Peppler         -||-  Data Migrations Inc.
mpeppler@peppler.org    -||-  http://www.mbay.net/~mpeppler
Int. Sybase User Group  -||-  http://www.isug.com
Sybase on Linux mailing list: ase-linux-list@isug.com