Michael Peppler
Sybase Consulting
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
Sybase on Linux FAQ
Sybperl FAQ
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: Michael Peppler <mpeppler at peppler dot org>
Subject: Re: Sybase 12, AIX 5.1 - cannot compile DBD::Sybase
Date: Mar 21 2003 6:56PM

On Thu, 2003-03-20 at 17:18, J. J. Yuan wrote:

> I'd like to re-state my situation first.  The fact is that the compilation
> of the C code had got through, some files are copied and chmod/chown was
> done.  It seems to have trouble with linking.

>        LD_RUN_PATH="/sybase_I002/OCS-12_5/lib:/lib" ld -o
> base/  -L/sybase_I002/OCS-12_5/lib -bhalt:4 -bM:SRE -bI:/usr/opt/perl5/
> lib/5.6.0/aix/CORE/perl.exp -bE:Sybase.exp -b noentry -lC -lc  Sybase.o  dbdimp.
> o    -L/sybase_I002/OCS-12_5/lib -lct64 -lcs64 -ltcl64 -lcomn64 -lintl64 -ldl -l
> m
> ld: 0711-317 ERROR: Undefined symbol: .ct_dynamic
> ld: 0711-317 ERROR: Undefined symbol: .ct_command
> ld: 0711-317 ERROR: Undefined symbol: .ct_param

One possibility is that the perl binary and the compilation of
is done in 32 bit mode. So when the linker is trying to load the 64 bit
libraries it fails and can't find the symbols that it's looking for.


> --- Michael Peppler  wrote:
> > On Thu, 2003-03-20 at 15:33, Jay J. Yuan wrote:
> > > I have tried a lot of things but I am still stuck.  I searched usual
> > web 
> > > sites to clue but I still can't get it to compile. I wonder if there
> > is 
> > > a place to look for more tips.  Is there an incompatibility?
> > 
> > Not as far as I know. What errors do you get?
> > 
> > Michael

Michael Peppler                              Data Migrations, Inc.       
Sybase T-SQL/OpenClient/OpenServer/C/Perl developer available for short or 
long term contract positions -