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: "Zou, Fan" <zouf at SEC dot GOV>
Subject: RE: "make test" error on solaris 2.6 with sybase ASE 12.0 install atio n when using dynamic load option
Date: Dec 13 2002 5:29PM

Thanks, Michael.

It works.

Fan

-----Original Message-----
From: Michael Peppler [mailto:mpeppler@peppler.org]
Sent: Friday, December 13, 2002 12:09 PM
To: Zou, Fan
Cc: 'sybperl-l@list.cren.net'
Subject: Re: "make test" error on solaris 2.6 with sybase ASE 12.0
installatio n when using dynamic load option


On Fri, 2002-12-13 at 08:00, Zou, Fan wrote:
> I got following error when I run "make test" after successfully run "make"
> with 
> "#LINKTYPE=static" in CONFIG file comment out.
> 
> If I uncomment "#LINKTYPE=static" in CONFIG and rerun "make" and "make
test"
> everything works OK.
> 
> Could anybody give me some idea. What's wrong with dynamic load?

> t/blk...............ld.so.1: /opt/perl5.005.03/bin/perl: fatal: relocation
> error
> : file /opt/sybase/OCS-12_0/lib/libtli.so: symbol comn_yield: referenced
> symbol
> not found

This may be an incorrect LD_LIBRARY_PATH, or you may have hit a bug in
Open Client (see
http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&threadm=3CFFDF1C
.A64C4D45%40sybase.com&rnum=1&prev=/groups%3Fhl%3Den%26lr%3D%26ie%3DUTF-8%26
oe%3DUTF-8%26q%3Dsybase%2Bsymbol%2Bcomn_yield%2Bsybperl)

The solution may be to link to -ltli explicitly (edit CTlib/Makefile and
add -ltli to the line with -lct -lcs etc...) and rebuild.

Michael
-- 
Michael Peppler                              Data Migrations, Inc.
mpeppler@peppler.org                 http://www.mbay.net/~mpeppler
Sybase T-SQL/OpenClient/OpenServer/C/Perl developer available for short or 
long term contract positions - http://www.mbay.net/~mpeppler/resume.html