|
|
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/Sybase.sl
> 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/Sybase.sl -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???64.sl files in your OCS lib directory?
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
|