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: Suda Kuna <sudhakark at att dot net>
Subject: Help
Date: Jun 7 2000 2:48PM

Hi,


I am getting the following error, any help would be appreciated.

Program:
======

#!/usr/local/bin/perl
#
#       @(#)who.pl      1.2     9/22/94
#
BEGIN{
push(@INC,"/export1/sybase115/sybperl-2.11");
push(@INC,"/export1/sybase115/sybperl-2.11/BCP");
push(@INC,"/export1/sybase115/sybperl-2.11/CTlib");
push(@INC,"/export1/sybase115/sybperl-2.11/DBlib");
push(@INC,"/export1/sybase115/sybperl-2.11/Sybase");
push(@INC,"/export1/sybase115/sybperl-2.11/Sybperl");
push(@INC,"/export1/sybase115/sybperl-2.11/blib");
push(@INC,"/export1/sybase115/sybperl-2.11/blib/lib");
push(@INC,"/export1/sybase115/sybperl-2.11/blib/lib/Sybase");
push(@INC,"/export1/sybase115/sybperl-2.11/blib/Sybase");
push(@INC,"/export1/sybase115/sybperl-2.11/blib/lib/auto");
push(@INC,"/export1/sybase115/sybperl-2.11/blib/lib/auto/Sybase");
push(@INC,"/export1/sybase115/sybperl-2.11/blib/lib/auto/Sybase/DBlib");
push(@INC,"/export1/sybase115/sybperl-2.11/blib/lib/auto/Sybase/Sybperl");
push(@INC,"/export1/sybase115/sybperl-2.11/lib");
push(@INC,"/export1/sybase115/sybperl-2.11/blib/arch/auto/Sybase");
push(@INC,"/export1/sybase115/sybperl-2.11/blib/arch/auto/DBlib");
push(@INC,"/export1/sybase115/sybperl-2.11/blib/arch/auto/DBlib");
push(@INC,"./Sybperl/Sybperl.pm");
push(@INC,"./blib/lib/Sybase/Sybperl.pm");
push(@INC,"./Sybase/Sybperl.pm");

};

require 'sybperl.pl';

$x = &dblogin('sa','mypassd','JOLT_1_DEV');
&dbuse
&dbcmd($x, "select name  from master..sysprocesses\n");
&dbsqlexec($x);
&dbresults($x);
while(%dat = &dbnextrow($x, 1))
{
print "Hi","\n";
}



Error:
====
who.pl
Can't locate loadable object for module Sybase::DBlib in @INC (@INC contains:
/usr/local/lib/perl5/sun4-solaris/5.00404 /usr/local/lib/perl5
/usr/local/lib/perl5/site_perl/sun4-solaris /usr/local/lib/perl5/site_perl .
/export1/sybase115/sybperl-2.11 /export1/sybase115/sybperl-2.11/BCP
/export1/sybase115/sybperl-2.11/CTlib /export1/sybase115/sybperl-2.11/DBlib
/export1/sybase115/sybperl-2.11/Sybase /export1/sybase115/sybperl-2.11/Sybperl
/export1/sybase115/sybperl-2.11/blib /export1/sybase115/sybperl-2.11/blib/lib
/export1/sybase115/sybperl-2.11/blib/lib/Sybase
/export1/sybase115/sybperl-2.11/blib/Sybase
/export1/sybase115/sybperl-2.11/blib/lib/auto
/export1/sybase115/sybperl-2.11/blib/lib/auto/Sybase
/export1/sybase115/sybperl-2.11/blib/lib/auto/Sybase/DBlib
/export1/sybase115/sybperl-2.11/blib/lib/auto/Sybase/Sybperl
/export1/sybase115/sybperl-2.11/lib
/export1/sybase115/sybperl-2.11/blib/arch/auto/Sybase
/export1/sybase115/sybperl-2.11/blib/arch/auto/DBlib
/export1/sybase115/sybperl-2.11/blib/arch/auto/DBlib ./Sybperl/Sybperl.pm
./blib/lib/Sybase/Sybperl.pm ./Sybase/Sybperl.pm) at Sybase/Sybperl.pm line 79
BEGIN failed--compilation aborted at Sybase/Sybperl.pm line 79.
BEGIN failed--compilation aborted at
/export1/sybase115/sybperl-2.11/blib/lib/sybperl.pl line 16.


Thank You
-Su