PEPPLER.ORG
Michael Peppler
Sybase Consulting
Menu
Home
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
Freeware
Sybperl
Sybase::Simple
DBD::Sybase
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
FAQs
Sybase on Linux FAQ
Sybperl FAQ
Personal
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: "Byington, Allen" <allen dot byington at dexmedia dot com>
Subject: DBD::Sybase compile error when compiling for 64 bit perl under HP -UX.
Date: Oct 27 2003 8:50PM

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.  Can anyone point me in the right direction to get this compiled
correctly?  If I have to upgrade perl, that isn't a problem.  Below are the
compile errors and the output of perl -V.  Any help would be appreciated.

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
Fatal error.
*** Error exit code 1

Stop.

Perl Version:

Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:
  Platform:
    osname=hpux, osvers=11.00, archname=PA-RISC2.0-LP64
    uname='hp-ux zorro b.11.00 e 9000893 305329211 8-user license '
    config_args='-Dusedevel -Dcc=cc -Duse64bitall -des -A
prepend:libswanted=cl pthread  -Duselargefiles'
    hint=previous, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=undef
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=define use64bitall=define uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='cc', ccflags ='-Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings +DD64
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='+O2 +Onolimit',
    cppflags='-Aa -D__STDC_EXT__ -D_HPUX_SOURCE -Ae -D_HPUX_SOURCE
-Wl,+vnocompatwarnings +DD64 -I/usr/local/include -Ae -D_HPUX_SOURCE
-Wl,+vnocompatwarnings +DD64 -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings +DD64
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Ae
-D_HPUX_SOURCE -Wl,+vnocompatwarnings +DD64 -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
    ccversion='A.11.01.25171.GP', gccversion='', gccosandvers=''
    intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=87654321
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='/usr/bin/ld', ldflags =' +DD64 -L/usr/local/lib -L/lib/pa20_64'
    libpth=/usr/local/lib /lib/pa20_64 /lib /usr/lib /usr/ccs/lib
    libs=-lnsl -lnm -ldl -ldld -lm -lc -lsec
    perllibs=-lnsl -lnm -ldl -ldld -lm -lc -lsec
    libc=/lib/pa20_64/libc.sl, so=sl, useshrplib=false, libperl=libperl.a
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_hpux.xs, dlext=sl, d_dlsymun=undef, ccdlflags='-Wl,-E
-Wl,-B,deferred '
    cccdlflags='+Z', lddlflags='-b +vnocompatwarnings -L/usr/local/lib
-L/lib/pa20_64'


Characteristics of this binary (from libperl): 
  Compile-time options: USE_64_BIT_INT USE_64_BIT_ALL USE_LARGE_FILES
  Built under hpux
  Compiled at Oct 24 2003 12:06:42
  @INC:
    /opt/perl580/lib/5.8.0/PA-RISC2.0-LP64
    /opt/perl580/lib/5.8.0
    /opt/perl580/lib/site_perl/5.8.0/PA-RISC2.0-LP64
    /opt/perl580/lib/site_perl/5.8.0
    /opt/perl580/lib/site_perl

Thanks

Allen Byington
allen.byington@dexmedia.com