|
|
sybperl-l Archive
Up Prev Next
From: Michael Peppler <mpeppler at peppler dot org>
Subject: Re: Solaris 2.8 64bit build issue for sybperl
Date: Nov 13 2002 7:25PM
On Wed, 2002-11-13 at 10:53, Faux, David wrote:
> Hi,
>
> I'm attempting to build a 64 bit version of sybperl (and DBD::Sybase) and
> when I get to the link phase for CTlib I get:
> ____________________________________________________________________________
> __________
> rm -f ../blib/arch/auto/Sybase/CTlib/CTlib.so
> LD_RUN_PATH="/export/sybase/sybase12.5_64bit/OCS-12_5/lib:/usr/lib" gcc
> -B/usr/ccs/bin/ -L/export/sybase/sybase12.5_64bit/OCS-12_5/lib -G
> -L/usr/local/lib CTlib.o -o ../blib/arch/auto/Sybase/CTlib/CTlib.so
> -L/export/sybase/sybase12.5_64bit/OCS-12_5/lib -lct64 -lcs64 -ltcl64
> -lcomn64 -lintl64 -lblk64 -linsck64 -ltli64 -lm
> ld: fatal: file CTlib.o: wrong ELF class: ELFCLASS64
> Summary of my perl5 (revision 5.0 version 8 subversion 0)
> configuration:
> Platform:
> osname=solaris, osvers=2.8, archname=sun4-solaris
> uname='sunos solaris 5.8 generic_108528-11 sun4u sparc
> sunw,ultra-5_10 '
> config_args='-Dcc=gcc -B/usr/ccs/bin/'
> hint=recommended, useposix=true, d_sigaction=define
> usethreads=undef use5005threads=undef useithreads=undef
> usemultiplicity=undef
> useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
> use64bitint=undef use64bitall=undef uselongdouble=undef
> usemymalloc=n, bincompat5005=undef
>
Your perl is not compiled in 64 bit mode (you need to have use64bitall
set). What does "file `which perl`" show?
Unless perl is built in 64 bit mode you won't be able to build sybperl
or DBD::Sybase (or DBI, or any other binary module) in 64 bit mode.
Michael
> --
> Michael Peppler / mpeppler@peppler.org / http://www.mbay.net/~mpeppler
> mpeppler@zetatools.com / ZetaTools, Inc / http://www.zetatools.com
> ZetaTools: Call perl functions as Sybase stored procedures!
|