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: "Rob Verschoor" <rob at sypron dot nl>
Subject: Re: Question on sybperl etc
Date: May 26 2007 9:21AM

First, 'libct.so' was the name of the file in 12.x; in 15.0 the library
files all got 'syb' in their name so it's now called 'libsybct.so' (same
logic applies for the other files in OCS-15_0/lib).
So could it be that you've installed the perl modules in a 15.0
environment but you're now running in a 12.5 environment? You should be
able to fix this by making sure that LD_LIBRARY_PATH include
$SYBASE/$SYBASE_OCS/lib for 15.0 (or perhaps copy the 15.0 files into the
12.5 OCS/lib directory if you want a quick hack).

Rob V.

----- Original Message ----- 
From: "William Bell" 
To: "Rob Verschoor" 
Cc: 
Sent: Friday, May 25, 2007 22:21
Subject: Re: Question on sybperl etc


> Hi Rob,
>
> I thought I have it compiled ok.... It compiled and all of the tests
> succeeded so I went ahead with "make install"... I am just testing a
> simple
> "pubs2" perl script and am getting an error....It almost seems like I am
> missing an environment variable or something...
>
> The error is:
> install_driver(Sybase) failed: Can't load
> '/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/DBD/Sybase/Sybase.so'
> for module DBD::Sybase: libsybct.so: cannot open shared object file: No
> such
> file or directory at
> /usr/lib/perl5/5.8.8/i386-linux-thread-multi/DynaLoader.pm line 230.
> at (eval
> 15)[/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/DBI.pm:732]
> line 3
> Compilation failed in require at (eval
> 15)[/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/DBI.pm:732]
> line 3.
> Perhaps a required shared library or dll isn't installed where expected
> at /home/billb/test.pl line 6
>
> The script I am using is very simple....
>
> #!/usr/bin/perl -w
> use strict;
> use DBI;
>
>
> my $dbh =
> DBI->connect("dbi:Sybase:pubs2;host=wmblin01;port=6000","sa","");
>
> my $sth = $dbh->prepare("select * from titles");
> $sth->execute();
>
> $dbh->disconnect();
>
> but when
>
> On 5/25/07, Rob Verschoor  wrote:
>>
>> I'm using DBD::Sybase against 15.0.1 right now...
>>
>> Rob V.
>>
>>
>> ----- Original Message -----
>> From: "William Bell" 
>> To: 
>> Sent: Friday, May 25, 2007 20:52
>> Subject: [SPAM] Question on sybperl etc
>>
>>
>> > Hi,
>> > Have any of the Sybperl or DBD::Sybase or Sybase::* modules been
>> > migrated to support ASE 15 yet?
>> >
>> > Thanks....
>> >
>> > Bill Bell
>> >
>>
>