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: ct_init error for Sybperl CTLib on ASE 12.5 OCS
Date: Apr 17 2002 6:40PM

On Wed, 2002-04-17 at 11:26, Matthew.Persico@Lazard.com wrote:
> 
> Hmm. Which means that if you really want multiple versions on a box (for testing
> purposes, let's say) you better not take the defaults at installation and make
> sure you put different versions in different directories. This way, you can
> create the same-named non-numbered softlinks to the numbered libs in each
> directory, build sybperl (and DBD or that matter) using the links against the
> earliest version and swap versions with a $SYBASE redefinition.
> 
> Of course, if the libraries are turn out to be incompatable from release to
> release, you will be forced to rebuild one instanance of Sybperl/DBD for each
> incompatable release. Each instance will have reside in its own directory tree
> (/opt/sybase/12.0/lib/perl5/, /opt/sybase/12.5/lib/perl5/...) and you will have
> to muck with PERl5LIB before you call your code OR @INC inside your program.
> 
> Here's hoping that the libraries are compatable...

That will mostly work.

However, you *must* *build* against a 12.5 OC to get the latest
functionality (wide varchars, etc), and a binary built that way will
*not* work with the 12.0 or 11.x libraries.

Michael
-- 
Michael Peppler                              Data Migrations, Inc.
mpeppler@peppler.org           *or*          mpeppler@mbay.net
http://www.mbay.net/~mpeppler
International Sybase User Group: http://www.isug.com