DBD::Oracle on HPUX

From: Daniel CW2 CTARNG Maldonado (daniel.maldonado_at_CT.NGB.ARMY.MIL)
Date: 12/21/04


To: dbi-users@perl.org
Date: Tue, 21 Dec 2004 15:10:41 -0500

I get the following error when I try to use

$dbh = DBI->connect ($ORACLE_SID, $login, $password, "Oracle");

anyone have a clue?

/usr/lib/dld.sl: Unresolved symbol: nlepeinit (code) from
/oracle8/product/8.1.
7/lib/libclntsh.sl.8.0
Abort(coredump)

DBI VERSION: 1.46

Perl version:

Summary of my perl5 (revision 5 version 8 subversion 6) configuration:
  Platform:
    osname=hpux, osvers=11.00, archname=PA-RISC2.0
    uname='hp-ux a5 b.11.00 u 9000800 871940681 unlimited-user license '
    config_args='-Dusedevel -Dcc=gcc -des'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=unde
f
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='gcc', ccflags ='-mpa-risc-2-0 -D_HPUX_SOURCE -DDEBUGGING
-fno-strict-ali
asing -pipe -I/pro/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64',
    optimize='-g -O',
    cppflags='-mpa-risc-2-0 -D_HPUX_SOURCE -mpa-risc-2-0 -D_HPUX_SOURCE
-DDEBUGG
ING -fno-strict-aliasing -pipe -I/pro/local/include'
    ccversion='', gccversion='3.4.3', gccosandvers='hpux11.00'
    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/pro/local/lib'
    libpth=/pro/local/lib /lib /usr/lib /usr/ccs/lib /usr/local/lib
    libs=-lcl -lpthread -lnsl -lnm -lndbm -lgdbm -ldb -lmalloc -ldld -lm
-lcrypt
 -lsec -lc
    perllibs=-lcl -lpthread -lnsl -lnm -lmalloc -ldld -lm -lcrypt -lsec -lc
    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,deferr
ed '
    cccdlflags='-fPIC', lddlflags='-b -L/pro/local/lib'
 
 
Characteristics of this binary (from libperl):
  Compile-time options: DEBUGGING USE_LARGE_FILES
  Locally applied patches:
        defined-or
  Built under hpux
  Compiled at Nov 30 2004 10:04:06
  @INC:
    /opt/perl/lib/5.8.6/PA-RISC2.0
    /opt/perl/lib/5.8.6
    /opt/perl/lib/site_perl/5.8.6/PA-RISC2.0
    /opt/perl/lib/site_perl/5.8.6
    /opt/perl/lib/site_perl

===========================================================================
Daniel Maldonado
Programmer Analyst



Relevant Pages

  • Re: Windows: Perl:Inline
    ... Compiler: ... and my perl is ActiveState perl. ...
    (comp.lang.perl.modules)
  • Re: Help regarding Date
    ... Posix code is not portable. ... standard C library and so should be available on any platform with a C ... Obviously since perl is currently written in C any platform ... The requirement of having a C compiler may change in Perl6 and then ...
    (perl.beginners)
  • Re: interesting use of NEXT SENTENCE vs. CONTINUE
    ... These days I don't do compiler maintenance, but I HAVE done in the past, so ... You had a chance to point out how adherence to the standard can improve ... >> compile it WITH MINOR MODIFICATIONS for a specific platform. ... > platform-specific extension to COBOL ...
    (comp.lang.cobol)
  • Re: interesting use of NEXT SENTENCE vs. CONTINUE
    ... I DID think any old compiler would be able to ... > compile it WITH MINOR MODIFICATIONS for a specific platform. ... > not going to go to the Standard to see what SHOULD work. ... If you write your COBOL code avoiding the things that are marked as ...
    (comp.lang.cobol)
  • Re: Standard Ada Preprocessor
    ... because Ada cannot deal with the portability issues. ... > you are interfacing directly to some special-purpose hardware. ... by their nature not compiler ... one platform you get 3 members back, and on another you get 5, ...
    (comp.lang.ada)