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: "Sullivan, Kenneth P" <ksulliva at nsf dot gov>
Subject: LD_LIBRARY_PATH problem
Date: Jun 14 1999 4:02PM

Hi,

  I am trying to execute my perl script in a sun-solaris environment.  The
error message leads me to believe that I have an LD_LIBRARY_PATH problem,
but I have that set to the current location of the 11.0.x open client
libraries.  

The call:

row_cnt.pl testsql
ld.so.1: /usr/local/bin/perl: fatal: relocation error: file
/usr/local/lib/perl5
/site_perl/5.005/sun4-solaris/auto/Sybase/CTlib/CTlib.so: symbol
cs_ctx_alloc: r
eferenced symbol not found
Killed


/pl[642]: env
_=/usr/bin/env
MANPATH=/usr/share/man:/usr/local/man:/usr/local/lib/perl5/5.00502:/usr/open
win/
share/man
HZ=100
PATH=/usr/local/bin:/usr/bin:/usr/sbin:/usr/ucb:/etc:/opt/sybase/bin:.
PERL=/usr/local/lib/perl5/site_perl/5.005/sun4-solaris/Sybase
EDITOR=vi
LOGNAME=ksulliva
MAIL=/var/mail/ksulliva
PS1=${PWD#$HOME}[!]:
SYBASE=/opt/sybase/sybase
USER=ksulliva
DSQUERY=testsql
SHELL=/bin/ksh
HOME=/export/home/ksulliva
FCEDIT=vi
LD_LIBRARY_PATH=/opt/sybase/sybase/lib  
TERM=vt100
PWD=/export/home/ksulliva/pl
TZ=US/Eastern
GNU=/usr/local/include/g++ 

Our installation is a little messed up right now, hence the "double sybase" 

Thanks,
Ken Sullivan