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: Michael Peppler <mpeppler at MBAY dot NET>
Subject: Re: NT sybperl error
Date: Oct 27 1997 4:42PM

Rich Bailey wrote:
> 
> Hi all:
> I just installed perl 5.001m with the sybperl extensions onto a 75Mhz
> Pentium with NT 4.0 and 16MB. It also has
> 
> OpenClient 11.1 (32 bit). The perl binaries were obtained from Mike
> Peppler's home page.
> Perl itself works, but the sybperl stuff bombs out. Here is the script:
> 
> #
> #       @(#)ct_sql.pl   1.2     8/7/95
> # Using the special one step query routine ct_sql().
> 
> use Sybase::CTlib;      # COMPILE FAILS HERE#
> 
> $d = new Sybase::CTlib axis, passwd, rscrd;
> 
> $ref = $d->ct_sql("select * from ftbiggs..CAMPADDR", \&print_sql );
> 
> sub print_sql {
>     print "@_\n";
> }
> 
> I get the following error:
> C:\PROGRAMS\perl5\src>perl ct_sql.pl
> 
> Can't find loadable object for module Sybase::CTlib in @INC at C:\PROGRAMS\perl5
> \lib/Sybase/CTlib.pm line 867
> BEGIN failed--compilation aborted at ct_sql.pl line 8.
> 
> C:\PROGRAMS\perl5\src>
> 
> I tried to move the __END__ to after the ct_sql sub. I put & in front of all
> occurences of 'CS_SUCCEED', 'CS_ROW_COUNT',
> >'CS_CMD_DONE' and 'CS_CANCEL_CURRENT' in CTlib.pm. None of this worked.
> Any ideas welcome!!

My guess is that the NT dynamic loader (whatever NT uses that
performes dynamic loading  la ld.so) can't find the appropriate
DLLs. I don't know enough about NT to tell you where to go to correct
this problem, but maybe some other NT person on the list could give
us a pointer...

Michael
--
Michael Peppler       -||-  Data Migrations Inc.
mpeppler@datamig.com  -||-  http://www.mbay.net/~mpeppler