Michael Peppler
Sybase Consulting
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
Sybase on Linux FAQ
Sybperl FAQ
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:
> #
> #       @(#)   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
> Can't find loadable object for module Sybase::CTlib in @INC at C:\PROGRAMS\perl5
> \lib/Sybase/ line 867
> BEGIN failed--compilation aborted at 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 None of this worked.
> Any ideas welcome!!

My guess is that the NT dynamic loader (whatever NT uses that
performes dynamic loading  la 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 Peppler       -||-  Data Migrations Inc.  -||-