Once again:

I compiled Perl 5.6.2 using HP aC++/ANSI C:

cd perl-5.6.2
sh ./Configure -A prepend:libswanted='cl pthread ' -des

: No problems there

Then I export some Oracle stuff:

    export SHLIB_PATH=$ORACLE_HOME/lib32
    export LD_LIBRARY_PATH=$ORACLE_HOME/lib


I run (as sudo):

perl Makefile.PL -l
make
make test

I get a failure(s) at this point:

SARX1[rhicks]:make test
PERL_DL_NONLAZY=1 /opt/perl5/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/01base................/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.19/blib/arch/auto/DBD/Oracle/Oracle.so' for module DBD::Oracle: Exec format error at /opt/perl5/lib/5.6.2/IA64.ARCHREV_0/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.

...and the tests did fail with the same error.

***[ Perl Summary ]***
SARX1[rhicks]:perl -V
Summary of my perl5 (revision 5.0 version 6 subversion 2) configuration:
  Platform:
    osname=hpux, osvers=11.23, archname=IA64.ARCHREV_0
    uname='hp-ux sarx1 b.11.23 u ia64 2819161144 unlimited-user license '
    config_args='-A prepend::libswanted=cl pthread  -des'
    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=undef 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=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, 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_LARGE_FILES
  Built under hpux
  Compiled at Jul  6 2007 13:54:33
  @INC:
    /opt/perl5/lib/5.6.2/IA64.ARCHREV_0
    /opt/perl5/lib/5.6.2
    /opt/perl5/lib/site_perl/5.6.2/IA64.ARCHREV_0
    /opt/perl5/lib/site_perl/5.6.2
    /opt/perl5/lib/site_perl
    .


Am I just not understanding the POD and suggestions? I am doing everything according to the POD but nada.

Robert

Reply via email to