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 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
> --------
> $ x1.pl
> Can't load
> '/opt/perl/lib/site_perl/5.005/sun4-solaris/auto/Sybase/DBlib/DBlib.so'
> for module Sybase::DBlib: ld.so.1: /usr/local/bin/perl: fatal:
> libtli.so: open failed: No such file or directory at

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

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

Michael
-- 
Michael Peppler / mpeppler@peppler.org / http://www.mbay.net/~mpeppler
mpeppler@zetatools.com / ZetaTools, Inc / http://www.zetatools.com
ZetaTools: Call perl functions as Sybase stored procedures!