-----Original Message----- 
From:   Dolan, Mark  
Sent:   Thursday, September 05, 2002 8:58 AM 
To:     Perl Users help (E-mail) 
Subject:        DBD::Oracle with Oracle 9 

I am having problems trying to make my DBD driver for Oracle. I have
built perl-5.8.0 and DBI-1.3. When I try to build DBD::Oracle I get the
following error when I run make.

We have Oracle 9 on our system which is 64-bit. If you have any
suggestions I would greatly appreciate them - Thanks ! ! !



Running Mkbootstrap for DBD::Oracle () 
    chmod 644 Oracle.bs 
    rm -f blib/arch/auto/DBD/Oracle/Oracle.sl 
    LD_RUN_PATH="/opt/oracle/ora92/lib" /usr/bin/ld  -b
+vnocompatwarnings -L/usr/local/lib Oracle.o dbdimp.o oci7.o oci8.o
/opt/oracle/ora92/rdbms/lib/defopt.o -o
blib/arch/auto/DBD/Oracle/Oracle.sl -L/opt/oracle/ora92/lib/ -lclntsh
-lcl -lrt -lpthread -ldld -lm -lqsmashr

/usr/bin/ld: /opt/oracle/ora92/rdbms/lib/defopt.o: Mismatched ABI.
64-bit PA object file found in 32-bit link 
*** Error exit code 1 

Stop. 


Output from perl -V: 

Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:

  Platform: 
    osname=hpux, osvers=11.11, archname=PA-RISC2.0 
    uname='hp-ux dbqcnv01 b.11.11 u 9000800 171434676 unlimited-user
license ' 
    config_args='-Ubincompat5005' 
    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 
  Compiler: 
    cc='cc', ccflags =' -Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings
-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 -I/usr/local/include' 
    ccversion='A.11.01.20', gccversion='', gccosandvers='' 
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321 
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16 
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8 
    alignbytes=8, prototype=define 
  Linker and Libraries: 
    ld='/usr/bin/ld', ldflags =' -L/usr/local/lib' 
    libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib 
    libs=-lnsl -lnm -lndbm -lmalloc -lcl -lpthread -ldld -lm -lc -lndir
-lcrypt -lsec 
    perllibs=-lnsl -lnm -lmalloc -lcl -lpthread -ldld -lm -lc -lndir
-lcrypt -lsec 
    libc=/lib/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' 


Characteristics of this binary (from libperl): 
  Compile-time options: USE_LARGE_FILES 
  Built under hpux 
  Compiled at Sep  4 2002 20:07:18 
  @INC: 
    /opt/perl5.8/lib/5.8.0/PA-RISC2.0 
    /opt/perl5.8/lib/5.8.0 
    /opt/perl5.8/lib/site_perl/5.8.0/PA-RISC2.0 
    /opt/perl5.8/lib/site_perl/5.8.0 
    /opt/perl5.8/lib/site_perl 
    . 

Reply via email to