Re: Question on sybperl etc
"Rob Verschoor" <[email protected]> Sat, 26 May 2007 11:28:38 +0200
| Newsgroups | gmane.comp.lang.perl.modules.dbi.sybase |
|---|---|
| Organization | Sypron B.V. |
| Message-ID | <0efa01c79f78$ba5038e0$6601a8c0@ZEUS> |
Correction: s/15.0/12.5/ > You should be > able to fix this by making sure that LD_LIBRARY_PATH include > $SYBASE/$SYBASE_OCS/lib for 15.0 ----- Original Message ----- From: "Rob Verschoor" <[email protected]> To: "William Bell" <[email protected]> Cc: <[email protected]> Sent: Saturday, May 26, 2007 11:21 Subject: Re: Question on sybperl etc > You should be > able to fix this by making sure that LD_LIBRARY_PATH include > $SYBASE/$SYBASE_OCS/lib for 15.0 > Rob V. > > ----- Original Message ----- > From: "William Bell" <[email protected]> > To: "Rob Verschoor" <[email protected]> > Cc: <[email protected]> > 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 <[email protected]> wrote: >>> >>> I'm using DBD::Sybase against 15.0.1 right now... >>> >>> Rob V. >>> >>> >>> ----- Original Message ----- >>> From: "William Bell" <[email protected]> >>> To: <[email protected]> >>> 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 >>> > >>> >> >