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: DBD::Sybase compile error when compiling for 64 bit perl under HP -UX.
Date: Oct 27 2003 10:18PM

On Mon, 2003-10-27 at 12:50, Byington, Allen wrote:
> Hello
> I've been trying to get a reasonably complete perl compiled under 64
> bit and I've run into a bit of a roadblock.  The machine I am
> compiling on is an HP-UX 11.00/64bit os with Sybase ASE 12.0 EBF 9919
> installed.  From the compile errors I've seen, I don't seem to have
> everything in the OCS to run pure 64 bit.  There are files missing
> that I believe the compiler is looking for.

> Compile Errors:
>         rm -f blib/arch/auto/DBD/Sybase/
>         LD_RUN_PATH="/opt/syb12/OCS-12_0/lib:/lib/pa20_64"
> /usr/bin/ld  -L/opt/syb12/OCS-12_0/lib -b +vnocompatwarnings
> -L/usr/local/lib -L/lib/pa20_64 Sybase.o  dbdimp.o  -o
> blib/arch/auto/DBD/Sybase/   -L/opt/syb12/OCS-12_0/lib -lct
> -lcs -ltcl -lcomn -lintl -linsck64 -ldl -lm  
> ld: Mismatched ABI (not an ELF file) for -lct

If you are building in 64 bit mode then you would normally use the
-lct64 library (and -lcs64, etc).

Did you set the BUILD_TYPE=64 entry in the CONFIG file?

Do you have the lib??? files in your OCS lib directory?

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