Re: [PHP-INST] Mismatched ABI for Oracle9-- PHP 4.3 on HPUX 11.0 From: Jim Thome (jthome <email protected>)
Date: 02/05/03

Use the Oracle 8.1.x client instead (it can be used against an Oracle 9.x database). Haven't heard of anyone having much luck compiling against Oracle 9.x, particularly on HPUX.

Also, I would use --with-oci8 instead of --with-oracle.

--
Jim

>>> Jay Mac <signup1919 <email protected>> 02/05/03 12:33PM >>>

I am trying to install PHP 4.3.0 on HPUX 11.0 64-bit with Oracle 9.2.0.1

I get a mismatched ABI error on the oracle client library.

Here is debug.log

CONFIGURE: './configure' '--with-oracle=/appl/sysdba/product/9.2.0.1' '--with-apache=/appl/sysdba/apache_1.3.27'

CC: gcc

CFLAGS: -g -O2

CPPFLAGS:

CXX:

CXXFLAGS:

INCLUDES: -I$(top_builddir)/Zend -I/appl/sysdba/product/9.2.0.1/rdbms/public -I/appl/sysdba/product/9.2.0.1/rdbms/demo -I/appl/sysdba/product/9.2.0.1/plsql/public

LDFLAGS: -L/appl/sysdba/product/9.2.0.1/lib -L/appl/sysdba/product/9.2.0.1/lib

LIBS: -lcrypt -lm -lnsl -lcrypt -l:libcl.sl -l:librt.sl -l:libnss_dns.1 -l:libdld.sl -lclntsh

DLIBS:

SAPI: apache

PHP_RPATHS: /appl/sysdba/product/9.2.0.1/lib

uname -a: HP-UX dbsws07 B.11.11 U 9000/782 2005692173 unlimited-user license

gcc -o conftest -g -O2 -L/appl/sysdba/product/9.2.0.1/lib -L/appl/sysdba/product/9.2.0.1/lib conftest.c -lcrypt -lm -lnsl -lcrypt -l:libcl.sl -l:librt.sl -l:libnss_dns.1 -l:libdld.sl -lclntsh 1>&5

/usr/ccs/bin/ld: /appl/sysdba/product/9.2.0.1/lib/libclntsh.sl: Mismatched ABI. 64-bit PA shared library found in 32-bit link.

collect2: ld returned 1 exit status

Anyone have any suggestions on how to resolve this?

Thanks.

--------------------------------- Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now

-- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php