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: Patrice Truong Van Nga <patrice at aslab dot com>
Subject: environnment variable
Date: Mar 31 1999 12:21AM

Hi all
I haved installed sybperl 2.10 with
sybase-ase-11.0.3.3-1 and perl 5.005_2

and make  test works the first time
but when I try to run
a perl script, even by comman line

it returns
Can't locate loadable object for module Sybase::DBlib in @INC (@INC
contains: /usr/lib/perl5/5.00502/i586-linux /usr/lib/perl5/5.00502
/usr/lib/perl5/site_perl/5.005/i586-linux /usr/lib/perl5/site_perl/5.005
.) at ./test.pl line8
BEGIN failed--compilation aborted at ./test.pl line8


###############excerpt of test.pl #############################
#!/usr/bin/perl
BEGIN {
        $ENV{SYBASE} = '/opt/sybase';
        }
# library
use strict;
use Time::localtime;
use Sybase::DBlib;
......
.......

###################################################

what must I do for doing it working.....
Thanks

PS:sybase works i can connect to the server!!!!!!!!!!!!!!!!!!!!!!!!!!


--

Patrice Truong Van Nga           (o)  (o)
_____________________________o00o___()__ o00o____
ASL Workstations                                        .~.
1757 Houret Court             (408) 941-2070 x108       /V\
Milipitas, CA 95035           (408) 941-2071           // \\
                                                      /(   )\
www.aslab.com                 patrice@aslab.com        ^^-^^
_________________________________________________