Up Prev Next
From: Michael Peppler <mpeppler at peppler dot org>
Subject: Re: DBlib to CTlib migration question
Date: Apr 21 2005 3:48PM
On Thu, 2005-04-21 at 09:58, Debkumar Chakraverty wrote:
> I have written a module "DbWrapper" which uses CTlib. I did my testing
> using perl 5.8.0 and it worked fine. I now realise that I have to get
> module working with perl 5.004 and sybperl version 2.10.
> But when I try to run my code I get the following error:
> [EMAIL PROTECTED]<17> /opt/PRperl5.004/bin/perl GetBusD.pl
> Can't load
> for module Sybase::CTlib: ld.so.1: /opt/PRperl5.004/bin/perl: fatal:
> relocation error: file
> /opt/perl/5.8.0/lib/sun4-solaris/auto/Sybase/CTlib/CTlib.so: symbol
> PL_Xpv: referenced symbol not found at
> /opt/lib/perl5.004/sun4-solaris/5.00404/DynaLoader.pm line 166.
Your PERL5LIB variable and/or LD_LIBRARY_PATH variable points at the
wrong place. You can't use the 5.8.x version of Sybase::CTlib with the
5.4 version of perl - they aren't binary compatible.
That being said I would *strongly* urge you to upgrade your perl binary
from 5.00404 to something more recent!
Michael Peppler - email@example.com - http://www.peppler.org/
Sybase on Linux FAQ: http://www.peppler.org/FAQ/linux.html