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: Victor Sovetov <victor at buildtrade dot com>
Subject: Re: DBlib under Linux problem
Date: Oct 14 1998 10:01AM

>Victor Sovetov writes:
> > Hello!
> >


Hello again!

> > I have a strange problem.
> > All compilations & tests was successful, but in execute time ... :
> >
> > [victor@hawk victor]$ perl
> > use Sybase::DBlib;
> > Can't locate loadable object for module Sybase::DBlib in @INC (@INC
> > contains: /u
> > sr/lib/perl5/5.00502/i586-linux-thread /usr/lib/perl5/5.00502
> > /usr/lib/perl5/sit
> > e_perl/5.005/i586-linux-thread /usr/lib/perl5/site_perl/5.005 .) at -
>line 1
> > BEGIN failed--compilation aborted at - line 1.
> > [victor@hawk victor]$
>
>Looks like Sybase::DBlib is not installed correctly.
>
>Perl is looking for DBlib.so in
>/usr/lib/perl5/site_perl/5.005/i586-linux-thread/auto/Sybase/DBlib/DBlib.so
>
>Check to see that it's there (CTlib.so should be in
>.../CTlib/CTlib.so).


Hmmm.... but LINKTYPE=static in my CONFIG... If i comment this line, i have
the error:

t/bcp...............Can't call method "sql" on an undefined value at
t/bcp.t lin
e 47.
dubious
        Test returned status 22 (wstat 5632, 0x1600)
DIED. FAILED tests 2-9
        Failed 8/9 tests, 11.11% okay
Failed Test  Status Wstat Total Fail  Failed  List of failed
-------------------------------------------------------------------------------
t/bcp.t          22  5632     9    8  88.89%  2-9
Failed 1/1 test scripts, 0.00% okay. 8/9 subtests failed, 11.11% okay.
make[1]: *** [test_dynamic] Error 2
make[1]: Leaving directory `/root/projects/sybase/sybperl-2.09_05/BCP'
make: *** [test] Error 2




>
>If it's not try to re-run make install...

I've tryed, but... :((((

Sincerely,

	Victor Sovetov