Title: Problems when compiling PHP 4.2.3

I am having a problem getting a clean compile of PHP.  From what little I know (or understand) about what is happening, I think I have determined that a change with Oracle 9 may be the problem.  In previous versions of Oracle there where two lib directories, one was lib and the other lib64 for all the 64 bit versions of the Oracle libraries.  With version 9, Oracle has changed them.  Now the 64 bit versions are in the lib directory and the 32 bit versions are in lib32.

So, I created the /d01/home/web/oracle directory and created soft links to the desired libraries.  But now I get a different error (a warning really).

+--------------------------------------------------------------------+

|                       *** ATTENTION ***                            |

|                                                                    |

| Something is likely to be messed up here, because the configure    |

| script was not able to detect a simple feature on your platform.   |

| This is often caused by incorrect configuration parameters. Please |

| see the file debug.log for error messages.                         |

PHP compiles completely and installs but the above message is a concern.  And then, when I compile the PHP module into Apache, it errors out completely.

Here is my debug.log


CONFIGURE:   './configure' '--prefix=/d01/home/web' '--exec-prefix=/d01/home/web' '--bindir=/d01/home/web/bin' '--sbindir=/d01/home/web/sbin' '--libexecdir=/d01/home/web/lib/php' '--mandir=/d01/home/web/man' '--sysconfdir=/d01/home/web/etc/php' '--datadir=/d01/home/web/src' '--includedir=/d01/home/web/include/php' '--localstatedir=/d01/home/web/etc/php' '--with-apache=/d01/home/web/build/apache_1.3.27' '--with-oci8=/d01/home/web/oracle' '--with-tiff=/d01/home/web/lib' '--with-jpeg=/d01/home/web/lib' '--with-ftp' '--with-config-file-path=/d01/home/web/etc/php' '--without-mysql' '--enable-track-vars'

CC:         gcc

CFLAGS:     -g -O2

CPPFLAGS:  

CXX:        gcc

CXXFLAGS:  

INCLUDES:    -I/d01/home/web/build/apache_1.3.27/src/include -I/d01/home/web/build/apache_1.3.27/src/os/unix  -I$(top_builddir)/Zend -I/d01/home/web/oracle/rdbms/public -I/d01/home/web/oracle/rdbms/demo -I/d01/home/web/oracle/plsql/public

LDFLAGS:     -L/d01/home/web/oracle/lib -L/d01/home/web/oracle/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:  /d01/home/web/oracle/lib

uname -a:   HP-UX zrtph036 B.11.00 A 9000/800 632329393 two-user license

gcc -o conftest -g -O2   -L/d01/home/web/oracle/lib -L/d01/home/web/oracle/lib conftest.c -lcrypt -lm -lnsl  -lcrypt -l:libcl.sl -l:librt.sl -l:libnss_dns.1 -l:libdld.sl -lclntsh 1>&5

/usr/lib/dld.sl: Bad magic number for shared library: /zrtph036_u001/home/oracle/dist/9.2.0/lib/libwtc9.sl

/usr/lib/dld.sl: Exec format error

--

Jesse

Reply via email to