HP_UX 64-bit, Oracle 64-bit, and Perl -s?
am 03.08.2007 19:36:52 von Michael.Kline------_=_NextPart_001_01C7D5F4.E11D3074
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Need some help please. Not that familiar with perl.
=20
Following are the queries from the Unix, Perl and Oracle Sign on.
=20
Thanks.
=20
=20
=20
When the unix person tries to compile a vendor code, he gets the
following:
=20
> OK, got gcc and perl 5.8.8 in correctly, which includes DBI. But
building
> DBD, I get complaints about libclntsh:
>=20
>=20
>=20
> /usr/bin/ld +b
>
"/u001/app/oracle/product/10.2.0/lib32:/u001/app/oracle/prod uct/10.2.0/r
db
> ms/lib32" -b -L/usr/local/pa20_32/lib -L/usr/local/lib/pa20_32 -
> L/usr/lib/hpux32 -L/usr/lib/pa20_32 -L/usr/local/lib -L/pro/local/lib
> Oracle.o dbdimp.o oci8.o +s +n -
> L/u001/app/oracle/product/10.2.0/rdbms/lib32/ -
> L/u001/app/oracle/product/10.2.0/lib32/ -lclntsh `cat
> /u001/app/oracle/product/10.2.0/lib32/ldflags` -lm -o
> blib/arch/auto/DBD/Oracle/Oracle.sl \
>=20
>=20
> ld: Mismatched ABI (not an ELF file) for -lclntsh
>=20
> Fatal error.
>=20
> *** Error exit code 1
>=20
>=20
>=20
> Stop.
>=20
>=20
>=20
> And we have:
>=20
>=20
>=20
> ga016d81 -> find /u001 -name "libclntsh*"
> /u001/app/oracle/product/10.2.0/lib/libclntsh.sl.10.1
> /u001/app/oracle/product/10.2.0/lib/libclntsh_nopthread.sl
> /u001/app/oracle/product/10.2.0/lib/libclntsh.sl
> /u001/app/oracle/product/10.2.0/lib/libclntsh.so
> /u001/app/oracle/product/10.2.0/lib32/libclntsh.sl
> /u001/app/oracle/product/10.2.0/lib32/libclntsh.sl.10.1
> /u001/app/oracle/product/10.2.0/lib32/libclntsh_nopthread.sl
>=20
=20
=20
hard:/home/oracle> uname -a
HP-UX ga016d81 B.11.11 U 9000/800 1858139192 unlimited-user license
=20
=20
hard:/home/oracle> perl -V
Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
Platform:
osname=3Dhpux, osvers=3D11.11, archname=3DPA-RISC2.0
uname=3D'hp-ux r3 b.11.11 u 9000800 1909236376 unlimited-user =
license
'
config_args=3D'-Dusedevel -Dcc=3Dgcc -Uversiononly
-Dinc_version_list=3Dnone -des'
hint=3Drecommended, useposix=3Dtrue, d_sigaction=3Ddefine
usethreads=3Dundef use5005threads=3Dundef useithreads=3Dundef
usemultiplicity=3Dundef
useperlio=3Ddefine d_sfio=3Dundef uselargefiles=3Ddefine =
usesocks=3Dundef
use64bitint=3Dundef use64bitall=3Dundef uselongdouble=3Dundef
usemymalloc=3Dn, bincompat5005=3Dundef
Compiler:
cc=3D'gcc', ccflags =3D'-mpa-risc-2-0 -DDEBUGGING -D_HPUX_SOURCE
-DDEBUGGING -fno-strict-aliasing -pipe -Wdeclaration-after-statement
-I/usr/local/pa20_32/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=3D64',
optimize=3D'-g -O',
cppflags=3D'-mpa-risc-2-0 -DDEBUGGING -D_HPUX_SOURCE -mpa-risc-2-0
-DDEBUGGING -D_HPUX_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe
-Wdeclaration-after-statement -I/usr/local/pa20_32/include'
ccversion=3D'', gccversion=3D'3.4.6', gccosandvers=3D'hpux11.11'
intsize=3D4, longsize=3D4, ptrsize=3D4, doublesize=3D8, =
byteorder=3D4321
d_longlong=3Ddefine, longlongsize=3D8, d_longdbl=3Ddefine, =
longdblsize=3D16
ivtype=3D'long', ivsize=3D4, nvtype=3D'double', nvsize=3D8, =
Off_t=3D'off_t',
lseeksize=3D8
alignbytes=3D8, prototype=3Ddefine
Linker and Libraries:
ld=3D'/usr/bin/ld', ldflags =3D'-L/usr/local/pa20_32/lib
-L/usr/local/lib/pa20_32 -L/usr/lib/hpux32 -L/usr/lib/pa20_32
-L/usr/local/lib -L/pro/local/lib '
libpth=3D/usr/local/pa20_32/lib /lib /usr/lib /usr/ccs/lib
/usr/local/lib
libs=3D-lcl -lpthread -lnsl -lnm -lndbm -lgdbm -ldb -lmalloc -ldld =
-lm
-lsec -lc
perllibs=3D-lcl -lpthread -lnsl -lnm -lmalloc -ldld -lm -lsec -lc
libc=3D/lib/libc.sl, so=3Dsl, useshrplib=3Dfalse, =
libperl=3Dlibperl.a
gnulibc_version=3D''
Dynamic Linking:
dlsrc=3Ddl_hpux.xs, dlext=3Dsl, d_dlsymun=3Dundef, =
ccdlflags=3D'-Wl,-E
-Wl,-B,deferred '
cccdlflags=3D'-fPIC', lddlflags=3D'-b -L/usr/local/pa20_32/lib
-L/usr/local/lib/pa20_32 -L/usr/lib/hpux32 -L/usr/lib/pa20_32
-L/usr/local/lib -L/pro/local/lib'
=20
=20
Characteristics of this binary (from libperl):
Compile-time options: DEBUGGING PERL_MALLOC_WRAP USE_LARGE_FILES
USE_PERLIO
Locally applied patches:
defined-or
Built under hpux
Compiled at Jan 9 2007 16:44:09
@INC:
/opt/perl/lib/5.8.8/PA-RISC2.0
/opt/perl/lib/5.8.8
/opt/perl/lib/site_perl/5.8.8/PA-RISC2.0
/opt/perl/lib/site_perl/5.8.8
/opt/perl/lib/site_perl
.
hard:/home/oracle> sqlplus /
=20
SQL*Plus: Release 10.2.0.1.0 - Production on Fri Aug 3 13:06:54 2007
=20
Copyright (c) 1982, 2005, Oracle. All rights reserved.
=20
=20
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit
Production
With the Partitioning, OLAP and Data Mining options
=20
SQL> exit
Disconnected from Oracle Database 10g Enterprise Edition Release
10.2.0.1.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
hard:/home/oracle>
=20
Michael Kline
Database Administration
SunTrust Banks, Inc.
Mail Code TOC-7505
1030 Wilmer Avenue
Richmond, Va. 23227
Tel: 804.261.9446 Net: 643.9446
BlackBerry: 804.517.7443
michael.kline@suntrust.com
=20
Seeing beyond Money(sm)=20
=20
=20
=20
LEGAL DISCLAIMER=20
The information transmitted is intended solely for the individual or =
entity to which it is addressed and may contain confidential and/or =
privileged material. Any review, retransmission, dissemination or other =
use of or taking action in reliance upon this information by persons or =
entities other than the intended recipient is prohibited. If you have =
received this email in error please contact the sender and delete the =
material from any computer.=20
=20
SunTrust and Seeing beyond money are federally registered service marks =
of SunTrust Banks, Inc.=20
[ST:XCL]=20
=20
=20
=20
=20
------_=_NextPart_001_01C7D5F4.E11D3074--