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: "Davies, Andrew (Exchange)" <adavies at bear dot com>
Subject: RE: Enviroment problem ---------
Date: Apr 13 2000 1:54PM

thank you for a prompt answer Jason.
Kind Regards
Andy Davies

> -----Original Message-----
> From:	Jason Stajich [SMTP:jason@chg.mc.duke.edu]
> Sent:	Thursday, April 13, 2000 2:35 PM
> To:	SybPerl Discussion List
> Subject:	RE:Enviroment problem ---------
> 
> You're not pointing to the right libtcl.
> 
> Sybperl FAQ
>      4.The $LD_LIBRARY_PATH environment variable is incorrectly set. 
>             1. Solaris has libintl.so in /usr/lib Even if you build
>                sybperl with the correct libraries, because these
>                libraries are shared, the setting of LD_LIBRARY_PATH
>                may override the actual library that is used at
>                run-time. Having /usr/lib in LD_LIBRARY_PATH *before*
>                $SYBASE/lib will cause any CTlib app to fail on Solaris. 
> 
>             2. libtcl.{a,so} from the tcl language Sybase has a
>                libtcl.so, and tcl has a libtcl.{a,so}, which very often
>                gets installed in /usr/local/lib. Again, the same
>                potential problem applies if you have a libtcl.so in
>                two places, and the wrong one is found at run-time.  
> 
> do:
> % ldd
> /usr/local/lib/perl5/site_perl/5.005/sun4-solaris/auto/Sybase/CTlib/CTlib.
> so
> 
> to see what is linked.  Adjust your LD_LIBRARY_PATH so that  Sybase's
> libtcl.so comes sooner.
> 
> -Jason
> 
> On Thu, 13 Apr 2000, Davies, Andrew (Exchange) wrote:
> 
> > 
> > 
> > > -----Original Message-----
> > > From:	Davies, Andrew (Exchange) 
> > > Sent:	Thursday, April 13, 2000 2:16 PM
> > > To:	'SYBPERL-L@list.cren.net'
> > > Subject:	RE: How to implement Statement handle in CTlib?
> > > 
> > > Anyone ideas whats wrong with my environment  ????
> > > thx
> > > Andy
> > > 
> > > 
> > > 	Can't load
> > >
> '/usr/local/lib/perl5/site_perl/5.005/sun4-solaris/auto/Sybase/CTlib/CTlib
> > > .so' for module Sybase::CTlib: ld.so.1: /usr/local/bin/perl: fatal:
> > > relocation error: file /usr/sybase/lib/libtcl.so: symbol comn_free:
> > > referenced symbol not found at
> > > /usr/local/lib/perl5/5.00503/sun4-solaris/DynaLoader.pm line 169.
> > > 	 at ajd.pl line 3
> > > 	BEGIN failed--compilation aborted at ajd.pl line 3
> > > 
> > 
> > 
> > ***********************************************************************
> > Bear Stearns is not responsible for any recommendation, solicitation, 
> > offer or agreement or any information about any transaction, customer 
> > account or account activity contained in this communication.
> > ***********************************************************************
> > 
> > 
> 
> Jason Stajich
> Center for Human Genetics
> Duke University Medical Center
> jason@chg.mc.duke.edu
> (919)684-1806
> http://www.duke.edu/~jes12/
> http://wwwchg.mc.duke.edu/


***********************************************************************
Bear Stearns is not responsible for any recommendation, solicitation, 
offer or agreement or any information about any transaction, customer 
account or account activity contained in this communication.
***********************************************************************