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: Ashish Pant <panta at ing-americas dot com>
Subject: Re: Sybperl scripts stopped running - HELP please
Date: Jan 25 1998 4:59PM

Ashish Pant wrote:

> Hi all,
>
> We are running Sybase 11.x and 4.9.x on Solaris 2.5.x
> We have a lot of sybperl scripts.  We went from Perl version 5.001 to
> 5.004_3
> $perl -v
> This is perl, version 5.004_03
>
> Our SA says that the Sybase extensions are already built into this
> version of perl.
>
> In scripts where I have
>
> use Sybase::DBlib;
>
> I get the error
> Can't locate Sybase/DBlib.pm in @INC (@INC contains:
> /usr/local/lib/perl5/sun4-solaris/5.00403 /usr/local/lib/perl5
> /usr/local/lib/perl5/site_perl/sun4-solaris
> /usr/local/lib/perl5/site_perl .) at Sybase.pl line 15.
> BEGIN failed--compilation aborted at Sybase.pl line 15.
>
> Sure enough there is no DBlib.pm file there.  The 5.001 version of perl
> libs had /usr/local/lib/perl5/Sybase/DBlib.pm
>
> I can't figure out what I need to do.  Do I need to change my scripts or
> has the SA built perl incorrectly.
>
> Please help
>
> regards
> Ashish

  Actuall I found the problem.  THere is a site specific file which needs
to be modified to, as the name suggests, fit your site.  (site_perl)
/usr/local/lib/perl5/site_perl

regards
Ashish