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 peppler dot org>
Subject: RE: unable to load CTLib.dll
Date: Apr 26 2003 12:45AM

On Fri, 2003-04-25 at 08:26, Sabherwal, Balvinder (MBS) wrote:
> >In general if things work on one machine and not on another you have to
> >look at the differences. Start with the environment variables that are
> >set before the CGI scripts starts, in particular the PATH env. variable
> >which is used in Windows to find DLLs. I believe that what is happening
> >here is that the Sybase DLLs aren't found or don't get loaded properly.
> >
> >(note that I have just about 0 experience with Windows systems, so I
> >could be off the mark here...)
> >
> >Michael
> Here are the comments from the just above the line where it
> tries to load the dll. It says that this is mostly due to the XS file
> problem

I know about this - but if the DLL can't be loaded in this case it's
almost certainly a problem with the DLLs that it (CTlib.dll) needs to
load in order to run. Which is why I mention the PATH env. variable, and
making sure that the Sybase libraries are located in the same place on
both machines.

Michael Peppler                              Data Migrations, Inc.       
Sybase T-SQL/OpenClient/OpenServer/C/Perl developer available for short or 
long term contract positions -