|
|
sybperl-l Archive
Up Prev Next
From: "Byington, Allen" <allen dot byington at dexmedia dot com>
Subject: RE: DBD::Sybase compile error when compiling for 64 bit perl unde
r HP -UX.
Date: Oct 28 2003 12:44PM
I'll make the changes to the make file to add the 64 to the -l options and
see what I get. In the meantime, here is a listing of my OCS libs
directory.
libblk.a libcs.sl libinsck.sl
libintl_r.a libsrv64.a libtcl.sl
libblk_r.a libcs_r.a libinsck.sl.12.0.1
libintl_r.sl libsrv64.sl libtcl_r.a
libcobct.a libcs_r.sl libinsck64.sl
libsdce.sl libsrv_r.a libtcl_r.sl
libcobct_r.a libct.a libinsck64.sl.12.0.1
libsdce.sl.12.0.1 libsrv_r.sl libxadtm.a
libcomn.a libct.sl libinsck_r.sl
libskrb.sl libsrv_r64.a libxadtm.sl
libcomn.sl libct_r.a libinsck_r.sl.12.0.1
libskrb.sl.12.0.1 libsrv_r64.sl
libcomn_r.a libct_r.sl libinsck_r64.sl.12.0.1
libsmapp.a libsybdb.a
libcomn_r.sl libddce.sl libintl.a
libsrv.a libsybdb.sl
libcs.a libddce.sl.12.0.1 libintl.sl
libsrv.sl libtcl.a
I did uncomment the 64 bit option in the CONFIG file as well. It just seems
to me that ASE 12 on HP-UX wasn't a full 64 bit build of Sybase. Thanks for
the quick response! I've been fighting this battle for several days now and
not making any headway.
Thanks
Allen Byington
-----Original Message-----
From: Michael Peppler [mailto:mpeppler@peppler.org]
Sent: Monday, October 27, 2003 4:18 PM
To: Byington, Allen
Cc: 'sybperl-l@peppler.org'
Subject: Re: DBD::Sybase compile error when compiling for 64 bit perl under
HP -UX.
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
|