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: Sybperl Migration Problem
Date: Jul 24 2002 9:17PM

On Wed, 2002-07-24 at 14:09, gratien_peiris wrote:
> Hi All,
> I faced a problem of migrating my  Sybperl scripts from one box to
> another which  has Solaris 2.8 / Syabse 12.5. Old box was Sun 2.6/
> Sybase 11.5
> I did setup the paths etc, and Sybase server is working fine.  I copied
> /opt/perl tree which as Sybperl also  to new box and when I tried to run
> perl script it come up with following errors. I have given my PATH
> variable values also. Please let me know what I missed or done wrong.

> Errors
> --------
> $
> Can't load
> '/opt/perl/lib/site_perl/5.005/sun4-solaris/auto/Sybase/DBlib/'
> for module Sybase::DBlib: /usr/local/bin/perl: fatal:
> open failed: No such file or directory at

The problem here is that older versions of Sybperl linked with
explicitly. This was not correct, and in 12.5 Sybase has renamed to

You can either rebuild sybperl on the new machine, or, as a temporary
hack, link to (in $SYBASE/OCS/lib)

Michael Peppler / / / ZetaTools, Inc /
ZetaTools: Call perl functions as Sybase stored procedures!