Michael Peppler
Sybase Consulting
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
Sybase on Linux FAQ
Sybperl FAQ
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: "Wheelton, Gareth" <gareth dot wheelton at csfb dot com>
Subject: RE: Perl can't find a module on it's @INC
Date: Nov 20 2001 2:44PM

No joy, the file can be read by all

$ ls -l

	drwxr-xr-x    2 root     daemon       1536 Oct 26  1999 .
	drwxr-xr-x    5 root     daemon        512 Oct 26  1999 ..
	-r--r--r--    1 root     daemon        591 Oct 26  1999

I think my problem has more to do with it wanting to find:

rather than:

-----Original Message-----
From: Scott Zetlan []
Sent: 20 November 2001 14:25
To: SybPerl Discussion List
Subject: RE: Perl can't find a module on it's @INC

Double-check the permissions on the directories and files under the various
elements of @INC; I've had similar problems after installing modules where
the permissions were set to 750 or 700, and with owner root/group bin, no
one can read the files.  Perl just reports that it can't find them, not that
it isn't allowed to read them.


> -----Original Message-----
> From:
> []On Behalf Of Wheelton, Gareth
> Sent: Tuesday, November 20, 2001 8:34 AM
> To: SybPerl Discussion List
> Subject: Perl can't find a module on it's @INC
> With the following pragmas in my code Perl can't seem to find an autoload
> module
>     use lib "/app/perl5005/lib/site_perl/5.005/sun4-solaris";
>     use Sybase::BCP;
>     use Sybase::CTlib;
> for some strange reason it expects to find:
>     auto/Sybase/CTlib/
> rather than:
>     auto/Sybase/Sybperl/
> the following compile error was given:
>     Can't locate auto/Sybase/CTlib/
>     in @INC (@INC contains:
> /app/perl5005/lib/site_perl/5.005/sun4-solaris
> /app/perl5005/lib/site_perl/5.005/sun4-solaris
>                     /app/perl5005/lib/5.005/sun4-solaris
>                     /app/perl5005/lib/5.005
> /app/perl5005/lib/site_perl/5.005/sun4-solaris
>                     /app/perl5005/lib/site_perl/5.005
>                     . )
>     at ./ line 76
> the value of @INC would imply the file could be found in the following
> location
> /app/perl5005/lib/site_perl/5.005/sun4-solaris/auto/Sybase/Sybperl
> /bcp_init.
> al
> but it doesn't, can anyone help
> thanks gareth

This message is for the named person's use only. It may contain sensitive and private proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you are not the intended recipient, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. CREDIT SUISSE GROUP and each legal entity in the CREDIT SUISSE FIRST BOSTON or CREDIT SUISSE ASSET MANAGEMENT business units of CREDIT SUISSE FIRST BOSTON reserve the right to monitor all e-mail communications through its networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorized to state them to be the views of any such entity. Unless otherwise stated, any pricing information given !
in this message is indicative on
ly, is subject to change and does not constitute an offer to deal at any price quoted. Any reference to the terms of executed transactions should be treated as  preliminary only and subject to our formal written confirmation.