Oracle make test failing on HP/UX



I am trying to install DBD::Oracle (yes I did read the README) on HP/UX 11.23 (itanium). I have DBI installed properly and I tested using DBD::SQLite.

When I go to install the Oracle stuff I get this during a "make test":

../usr/lib/hpux32/dld.so: Cannot dlopen load module '/usr/lib/hpux32/libpthread.so.1' because it contains thread specific data.
Failed to load Oracle extension and/or shared libraries:
install_driver(Oracle) failed: Can't load '/users/rhicks/src/DBD-Oracle-1.17/blib/arch/auto/DBD/Oracle/Oracle.so' for module DBD::Oracle: Exec format error at /opt/perl5/lib/5.6.2/IA64.ARCHREV_0-LP64/DynaLoader.pm line 206.
at (eval 1) line 3
Compilation failed in require at (eval 1) line 3.
Perhaps a required shared library or dll isn't installed where expected
at t/01base.t line 19
The remaining tests will probably also fail with the same error.


I did *not* build a threaded Perl because that gives a harsh warning when installing Perl. We are moving from PA-RISC 11.11 to the Itanium and the Perl configure mirrors that one (except we moved up to 5.6.2).

I have installed:

DBI 1.58
DBD::Oracle (trying with 1.17 and 1.19)
Perl 5.6.2

Here is my perl -V:

Summary of my perl5 (revision 5.0 version 6 subversion 2) configuration:
Platform:
osname=hpux, osvers=11.23, archname=IA64.ARCHREV_0-LP64
uname='hp-ux sarx1 b.11.23 u ia64 2819161144 unlimited-user license '
config_args=''
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=define use64bitall=undef uselongdouble=undef
Compiler:
cc='cc', ccflags =' -Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 ',
optimize='+O2 +Onolimit',
cppflags='-Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings'
ccversion='', gccversion='', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=87654321
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=8, usemymalloc=n, prototype=define
Linker and Libraries:
ld='/usr/bin/ld', ldflags =' -L/usr/local/lib -L/usr/lib/hpux32'
libpth=/usr/local/lib /usr/lib/hpux32 /lib /usr/lib /usr/ccs/lib
libs=-lnsl -lnm -lndbm -ldl -ldld -lm -lc -lsec
perllibs=-lnsl -lnm -ldl -ldld -lm -lc -lsec
libc=/usr/lib/hpux32/libc.so, so=so, useshrplib=false, libperl=libperl.a
Dynamic Linking:
dlsrc=dl_hpux.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-B,deferred '
cccdlflags='+Z', lddlflags='-b +vnocompatwarnings -L/usr/local/lib -L/usr/lib/hpux32'


Characteristics of this binary (from libperl):
Compile-time options: USE_64_BIT_INT USE_LARGE_FILES
Built under hpux
Compiled at Jul 3 2007 11:47:15
@INC:
/opt/perl5/lib/5.6.2/IA64.ARCHREV_0-LP64
/opt/perl5/lib/5.6.2
/opt/perl5/lib/site_perl/5.6.2/IA64.ARCHREV_0-LP64
/opt/perl5/lib/site_perl/5.6.2
/opt/perl5/lib/site_perl
.
.



Relevant Pages

  • Re: attempt to build 64 bit on Solaris fails
    ... > libraries needed to link with a 64-bit Tk. ... We were running a 32-bit version of Perl ... > Each section below is a summary of the commands used to install it. ...
    (comp.lang.perl.tk)
  • Re: attempt to build 64 bit on Solaris fails
    ... libraries needed to link with a 64-bit Tk. ... We were running a 32-bit version of Perl ... Each section below is a summary of the commands used to install it. ...
    (comp.lang.perl.tk)
  • Perl on Linux and SQL Server 2000 on Windows
    ... There was a time when I did a lot of searching on ways to use Perl ... sitting on Linux to connect SQL Server 2000 sitting on Windows. ... cpan> install DBI ... Install FreeTDS ...
    (comp.os.linux.misc)
  • RE: Please Help !!! Unable to install DBD-Oracle ( I am using perl 5.6 on solaris 8)
    ... Ron, I could be way off here, but the OP mayalready have Perl ... think the original issue was that he tried to use *PPM* to install ... I don't have any Solaris ... you are not the intended recipient, please notify the sender at Wipro ...
    (perl.dbi.users)
  • Re: Installing DBD::File via CPAN
    ... Do you use 'UNINST=1' in the build options for CPAN? ... >> Did you build Perl from source, or install via a RPM or binary distro? ... >>> sender of the delivery error by replying to this message, or notify us ...
    (perl.dbi.users)