Up Prev Next
From: Michael Peppler <mpeppler at peppler dot org>
Date: May 7 1999 11:26PM
Fugen Li writes:
> When I run ct_sql.pl I had the following error message:
> Can't locate Sybase/CTlib.pm in @INC (@INC contains:
> /usr/local/perl/lib/sun4-solaris/5.00404 /usr/local/perl/lib
> /usr/local/perl/lib/site_perl/sun4-solaris /usr/local/perl/lib/site_perl
> .) at ct_sql.pl line 7.
> BEGIN failed--compilation aborted at ct_sql.pl line 7.
> The reason is that I load all sybperl package in my local directory. Does
> anyone know how to set the right path or envirnment to make the program
> work. Thank you very much.
You need to add
use lib '....';
to your script (where .... is the directory where you've installed
You'll probably need two such statements, one for the perl part of the
module and one for the C part.
Michael Peppler -||- Data Migrations Inc.
firstname.lastname@example.org -||- http://www.mbay.net/~mpeppler
Int. Sybase User Group -||- http://www.isug.com
Sybase on Linux mailing list: email@example.com