you pointing to a 64-bits Oracle, so you will to have everything in 64 bits and the compiler will need to be able to compile 64 bits binary as well...
for GCC use the flags -m64 for ld use the flags -xarch=v9 and there is a big change you will need to have a hardcoded library search path.. gcc = -Wl,-R.... hope this may help... -ls > > > I'm adding oracle support to an already configured and working PHP version > 4.3.5. Here is what I just ran: > (ORACLE_HOME=/app/oracle/product/920_64) > > funix-> ./configure --prefix=/usr/local/php > --with-apxs2=/usr/local/apache2/bin/apxs > --with-config-file-path=/usr/local/php --with-mysql > --with-oracle=/app/oracle/product/920_64 > --with-oci8=/app/oracle/product/920_64 > > creating cache ./config.cache > checking host system type... sparc-sun-solaris2.8 > checking for gcc... gcc > checking whether the C compiler (gcc ) works... yes > checking whether the C compiler (gcc ) is a cross-compiler... no > checking whether we are using GNU C... yes > checking whether gcc accepts -g... yes > checking whether gcc and cc understand -c and -o together... yes > checking how to run the C preprocessor... gcc -E > checking for AIX... no > checking if compiler supports -R... yes > checking for re2c... exit 0; > checking for ranlib... : > checking whether ln -s works... yes > checking for mawk... no > checking for gawk... no > checking for nawk... nawk > checking for bison... bison -y > checking bison version... 1.875 (ok) > checking for flex... flex > checking for yywrap in -lfl... yes > checking lex output file root... lex.yy > checking whether yytext is a pointer... yes > checking for working const... yes > checking flex version... 2.5.4 (ok) > checking for pthreads_cflags... -pthreads > checking for pthreads_lib... > > Configuring SAPI modules > checking for AOLserver support... no > checking for Apache 1.x module support via DSO through APXS... no > checking for Apache 1.x module support... no > checking for member fd in BUFF *... no > checking for mod_charset compatibility option... no > checking for Apache 2.0 filter-module support via DSO through APXS... no > checking for Apache 2.0 handler-module support via DSO through APXS... yes > checking for Caudium support... no > checking for CLI build... yes > checking for embedded SAPI library support... no > checking for Zeus ISAPI support... no > checking for NSAPI support... no > checking for PHTTPD support... no > checking for Pi3Web support... no > checking for Roxen/Pike support... no > checking for Servlet support... no > checking for thttpd... no > checking for TUX... no > checking for webjames... no > checking for chosen SAPI module... apache2handler > > Running system checks > checking for missing declarations of reentrant functions... done > checking for sendmail... /usr/lib/sendmail > checking whether system uses EBCDIC... no > checking for socket... no > checking for __socket... no > checking for socket in -lsocket... yes > checking for htonl... yes > checking for gethostname... yes > checking for gethostbyaddr... no > checking for __gethostbyaddr... no > checking for gethostbyaddr in -lnsl... yes > checking for yp_get_default_domain... yes > checking for dlopen... no > checking for __dlopen... no > checking for dlopen in -ldl... yes > checking for sin in -lm... yes > checking for res_search... no > checking for __res_search... no > checking for res_search in -lresolv... yes > checking for inet_aton... yes > checking for dn_skipname... yes > checking for ANSI C header files... yes > checking for dirent.h that defines DIR... yes > checking for opendir in -ldir... no > checking for fclose declaration... ok > checking for dirent.h... yes > checking for ApplicationServices/ApplicationServices.h... no > checking for sys/param.h... yes > checking for sys/types.h... yes > checking for sys/time.h... yes > checking for netinet/in.h... yes > checking for alloca.h... yes > checking for arpa/inet.h... yes > checking for arpa/nameser.h... yes > checking for assert.h... yes > checking for crypt.h... yes > checking for fcntl.h... yes > checking for grp.h... yes > checking for ieeefp.h... yes > checking for langinfo.h... yes > checking for limits.h... yes > checking for locale.h... yes > checking for monetary.h... yes > checking for mach-o/dyld.h... no > checking for netdb.h... yes > checking for pwd.h... yes > checking for resolv.h... yes > checking for signal.h... yes > checking for stdarg.h... yes > checking for stdlib.h... yes > checking for string.h... yes > checking for syslog.h... yes > checking for sysexits.h... yes > checking for sys/file.h... yes > checking for sys/mman.h... yes > checking for sys/mount.h... yes > checking for sys/poll.h... yes > checking for sys/resource.h... yes > checking for sys/select.h... yes > checking for sys/socket.h... yes > checking for sys/statfs.h... yes > checking for sys/statvfs.h... yes > checking for sys/vfs.h... yes > checking for sys/sysexits.h... no > checking for sys/varargs.h... yes > checking for sys/wait.h... yes > checking for unistd.h... yes > checking for unix.h... no > checking for utime.h... yes > checking for sys/utsname.h... yes > checking for sys/ipc.h... yes > checking for dlfcn.h... yes > checking for fopencookie... no > checking for broken getcwd... yes > checking for broken libc stdio... yes > checking whether struct tm is in sys/time.h or time.h... time.h > checking for tm_zone in struct tm... no > checking for tzname... yes > checking for tm_gmtoff in struct tm... no > checking for struct flock... yes > checking for socklen_t... yes > checking size of long... 4 > checking size of int... 4 > checking for st_blksize in struct stat... yes > checking for st_blocks in struct stat... yes > checking for st_rdev in struct stat... yes > checking for size_t... yes > checking for uid_t in sys/types.h... yes > checking for struct sockaddr_storage... yes > checking for IPv6 support... yes > checking for vprintf... yes > checking for alphasort... no > checking for asctime_r... yes > checking for chroot... yes > checking for ctime_r... yes > checking for cuserid... yes > checking for crypt... yes > checking for flock... no > checking for ftok... yes > checking for funopen... no > checking for gai_strerror... yes > checking for gcvt... yes > checking for getlogin... yes > checking for getprotobyname... yes > checking for getprotobynumber... yes > checking for getservbyname... yes > checking for getservbyport... yes > checking for getrusage... yes > checking for gettimeofday... yes > checking for gmtime_r... yes > checking for isascii... yes > checking for link... yes > checking for localtime_r... yes > checking for lockf... yes > checking for lrand48... yes > checking for memcpy... yes > checking for memmove... yes > checking for mkstemp... yes > checking for mmap... yes > checking for nl_langinfo... yes > checking for perror... yes > checking for poll... yes > checking for putenv... yes > checking for realpath... yes > checking for random... yes > checking for rand_r... yes > checking for regcomp... yes > checking for res_search... (cached) yes > checking for scandir... no > checking for setitimer... yes > checking for setlocale... yes > checking for localeconv... yes > checking for setsockopt... yes > checking for setvbuf... yes > checking for shutdown... yes > checking for sin... yes > checking for snprintf... yes > checking for srand48... yes > checking for srandom... yes > checking for statfs... yes > checking for statvfs... yes > checking for std_syslog... no > checking for strcasecmp... yes > checking for strcoll... yes > checking for strdup... yes > checking for strerror... yes > checking for strftime... yes > checking for strstr... yes > checking for strtok_r... yes > checking for symlink... yes > checking for tempnam... yes > checking for tzset... yes > checking for unsetenv... no > checking for usleep... yes > checking for utime... yes > checking for vsnprintf... yes > checking for getaddrinfo... yes > checking for strlcat... yes > checking for strlcpy... yes > checking for getopt... yes > checking whether utime accepts a null argument... yes > checking for working alloca.h... (cached) yes > checking for alloca... yes > checking whether sprintf is broken... no > checking whether snprintf is broken... yes > checking for declared timezone... yes > checking for type of reentrant time-related functions... POSIX > checking for readdir_r... yes > checking for type of readdir_r... POSIX > > General settings > checking whether to include debugging symbols... no > checking layout of installed files... PHP > checking path to configuration file... /usr/local/php > checking directory to be scanned for configuration files... DEFAULT > checking whether to enable safe mode by default... no > checking for safe mode exec dir... /usr/local/php/bin > checking whether to enable PHP's own SIGCHLD handler... no > checking whether to enable magic quotes by default... no > checking whether to enable runpaths... yes > checking whether to explicitly link against libgcc... yes > checking whether to enable short tags by default... yes > checking whether to enable dmalloc... no > checking whether to enable IPv6 support... yes > checking whether to enable versioning... no > > Configuring extensions > checking for OpenSSL support... no > checking for ZLIB support... no > checking if the location of ZLIB install directory is defined... no > checking whether to enable bc style precision math functions... no > checking for BZip2 support... no > checking whether to enable calendar conversion support... no > checking for cpdflib support... no > checking for CRACKlib support... no > checking whether to enable ctype functions... yes > checking for CURL support... no > checking for cyrus imap support... no > checking for xDBM support... no > checking whether to enable DBA... no > checking for GDBM support... no > checking for NDBM support... no > checking for Berkeley DB4 support... no > checking for Berkeley DB3 support... no > checking for Berkeley DB2 support... no > checking for DBM support... no > checking for CDB support... no > checking for INI File support... no > checking for FlatFile support... no > checking whether to enable DBA interface... no > checking whether to enable dbase support... no > checking whether to enable dbx support... no > checking whether to enable direct I/O support... no > checking for DOM support... no > checking for DOM XSLT support... no > checking for DOM EXSLT support... no > checking whether to enable EXIF (metadata from images) support... no > checking for FrontBase SQL92 (fbsql) support... no > checking for FDF support... no > checking whether to enable the bundled filePro support... no > checking for FriBidi support... no > checking whether to enable FTP support... no > checking for GD support... no > checking for the location of libjpeg... no > checking for the location of libpng... no > checking for the location of libXpm... no > checking for FreeType 1.x support... no > checking for FreeType 2... no > checking for T1lib support... no > checking whether to enable truetype string function in GD... no > checking whether to enable JIS-mapped Japanese font support in GD... no > checking for GNU gettext support... no > checking for GNU MP support... no > checking for hwapi support... no > checking for Hyperwave support... no > checking for iconv support... no > checking for IMAP support... no > checking for Informix support... no > checking for Ingres II support... no > checking for InterBase support... no > checking for IRCG support... no > checking for Java support... no > checking for LDAP support... no > checking whether to enable multibyte string support... no > checking whether to enable multibyte regex support... yes > checking for external libmbfl... no > checking for MCAL support... no > checking for mcrypt support... no > checking for MCVE support... no > checking OpenSSL dir for MCVE... no > checking for mhash support... no > checking whether to include mime_magic support... no > checking for MING support... no > checking for mnoGoSearch support... no > checking for msession support... no > checking for mSQL support... no > checking for MSSQL support via FreeTDS... no > checking for MySQL support... yes > checking for specified location of the MySQL UNIX socket... no > checking for MySQL UNIX socket location... /tmp/mysql.sock > checking for inline... inline > checking return type of signal handlers... void > checking for ANSI C header files... (cached) yes > checking for sgtty.h... yes > checking for sys/ioctl.h... yes > checking for fcntl.h... (cached) yes > checking for float.h... yes > checking for floatingpoint.h... yes > checking for ieeefp.h... (cached) yes > checking for limits.h... (cached) yes > checking for memory.h... yes > checking for pwd.h... (cached) yes > checking for select.h... no > checking for stdlib.h... (cached) yes > checking for stddef.h... yes > checking for strings.h... yes > checking for string.h... (cached) yes > checking for synch.h... yes > checking for sys/mman.h... (cached) yes > checking for sys/socket.h... (cached) yes > checking for sys/timeb.h... yes > checking for sys/types.h... (cached) yes > checking for sys/un.h... yes > checking for sys/vadvise.h... no > checking for sys/wait.h... (cached) yes > checking for term.h... yes > checking for unistd.h... (cached) yes > checking for utime.h... (cached) yes > checking for sys/utime.h... yes > checking for termio.h... yes > checking for termios.h... yes > checking for sched.h... yes > checking for crypt.h... (cached) yes > checking for alloca.h... (cached) yes > checking size of char... 1 > checking size of int... (cached) 4 > checking size of long... (cached) 4 > checking size of long long... 8 > checking for size_t... (cached) yes > checking whether time.h and sys/time.h may both be included... yes > checking for uid_t in sys/types.h... (cached) yes > checking for type ulong... yes > checking for type uchar... no > checking for type uint... yes > checking for type ushort... yes > checking for int8... no > checking base type of last arg to accept... socklen_t > checking return type of qsort... void > checking for alarm... yes > checking for bmove... no > checking for chsize... no > checking for ftruncate... yes > checking for rint... yes > checking for finite... yes > checking for fpsetmask... yes > checking for fpresetsticky... no > checking for cuserid... (cached) yes > checking for fcntl... yes > checking for fconvert... yes > checking for getrusage... (cached) yes > checking for getpwuid... yes > checking for getcwd... yes > checking for getrlimit... yes > checking for getwd... yes > checking for index... yes > checking for locking... no > checking for longjmp... yes > checking for perror... (cached) yes > checking for pread... yes > checking for realpath... (cached) yes > checking for rename... yes > checking for socket... (cached) yes > checking for strnlen... no > checking for madvise... yes > checking for strtoll... yes > checking for strtoul... yes > checking for strtoull... yes > checking for snprintf... (cached) yes > checking for tempnam... (cached) yes > checking for thr_setconcurrency... yes > checking for gethostbyaddr_r... yes > checking for gethostbyname_r... yes > checking for getpwnam... yes > checking for bfill... no > checking for bzero... yes > checking for bcmp... yes > checking for strstr... (cached) yes > checking for strpbrk... yes > checking for strerror... (cached) yes > checking for tell... yes > checking for atod... no > checking for memcpy... (cached) yes > checking for memmove... (cached) yes > checking for setupterm... no > checking for strcasecmp... (cached) yes > checking for sighold... yes > checking for vidattr... no > checking for setupterm... (cached) no > checking for lrand48... (cached) yes > checking for localtime_r... (cached) yes > checking for sigset... yes > checking for sigthreadmask... no > checking for pthread_sigmask... yes > checking for pthread_setprio... no > checking for pthread_setprio_np... no > checking for pthread_setschedparam... yes > checking for pthread_attr_setprio... no > checking for pthread_attr_setschedparam... yes > checking for pthread_attr_create... no > checking for pthread_getsequence_np... no > checking for pthread_attr_setstacksize... yes > checking for pthread_condattr_create... no > checking for rwlock_init... yes > checking for crypt... (cached) yes > checking for dlopen... (cached) yes > checking for dlerror... yes > checking for fchmod... yes > checking for getpass... yes > checking for getpassphrase... yes > checking for strtok_r... (cached) yes > checking style of gethostname_r routines... other > checking 3 argument to gethostname_r routines... char > checking args to pthread_getspecific... POSIX > checking args to pthread_mutex_init... POSIX > checking args to readdir_r... POSIX > checking style of sigwait... POSIX > checking for ncurses support... no > checking for Oracle-OCI8 support... yes > checking Oracle Install-Dir... /app/oracle/product/920_64 > checking Oracle version... 9.0 > checking for OCIEnvNlsCreate in -lclntsh... no > checking for OCILobIsTemporary in -lclntsh... no > checking for OCILobIsTemporary in -locijdbc8... no > checking for Adabas support... no > checking for SAP DB support... no > checking for Solid support... no > checking for IBM DB2 support... no > checking for Empress support... no > checking for Empress local access support... no > checking for Birdstep support... no > checking for a custom ODBC support... no > checking for iODBC support... no > checking for Easysoft ODBC-ODBC Bridge support... no > checking for unixODBC support... no > checking for DBMaker support... no > checking for Oracle-ORACLE support... yes > checking Oracle Install-Dir... /app/oracle/product/920_64 > checking Oracle version... 9.0 > checking whether to enable user-space object overloading support... yes > checking for Ovrimos SQL Server support... no > checking whether to enable pcntl support... no > checking for PCRE support... yes > checking for PDFlib support... no > checking for the location of libtiff... no > checking for Verisign Payflow Pro support... no > checking for PostgreSQL support... no > checking whether to enable POSIX-like functions... yes > checking for seteuid... no > checking for setegid... no > checking for setsid... no > checking for getsid... no > checking for setpgid... no > checking for getpgid... no > checking for ctermid... no > checking for mkfifo... no > checking for getrlimit... (cached) yes > checking for PSPELL support... no > checking for QtDOM support... no > checking for libedit readline replacement... no > checking for readline support... no > checking for recode support... no > checking whether to enable PHP sessions... yes > checking for mm support... no > checking whether pwrite works... no > checking whether pread works... no > checking whether to enable shmop support... no > checking for SNMP support... no > checking OpenSSL dir for SNMP... no > checking whether to enable UCD SNMP hack... no > checking whether to enable sockets support... no > checking for getcwd... (cached) yes > checking for getwd... (cached) yes > checking for asinh... no > checking for acosh... no > checking for atanh... no > checking for log1p... no > checking for hypot... no > checking for standard DES crypt... no > checking for extended DES crypt... no > checking for MD5 crypt... no > checking for Blowfish crypt... no > checking whether flush should be called explicitly after a buffered io... yes > checking which regex library to use... php > checking whether rounding works as expected... no > checking for working fnmatch... no > checking for glob... no > checking for strfmon... no > checking for libswf support... no > checking for Sybase support... no > checking for Sybase-CT support... no > checking whether to enable System V IPC support... no > checking whether to enable System V semaphore support... no > checking whether to enable System V shared memory support... no > checking whether to enable tokenizer support... yes > checking whether to enable WDDX support... no > checking whether byte ordering is bigendian... yes > checking whether to enable XML support... yes > checking external libexpat install dir... no > checking for XMLRPC-EPI support... no > checking libexpat dir for XMLRPC-EPI... yes > checking iconv dir for XMLRPC-EPI... yes > checking whether to enable xslt support... no > checking for XSLT Sablotron backend... no > checking for libexpat dir for Sablotron XSL support... no > checking for iconv dir for Sablotron XSL support... no > checking for JavaScript for Sablotron XSL support... no > checking for YAZ support... no > checking whether to include YP support... no > checking for ZIP support... no > > Configuring PEAR > checking whether to install PEAR... yes > > Configuring Zend > checking bison version... 1.875 (ok) > checking for limits.h... (cached) yes > checking for malloc.h... yes > checking for string.h... (cached) yes > checking for unistd.h... (cached) yes > checking for stdarg.h... (cached) yes > checking for sys/types.h... (cached) yes > checking for sys/time.h... (cached) yes > checking for signal.h... (cached) yes > checking for unix.h... (cached) no > checking for mach-o/dyld.h... (cached) no > checking for dlfcn.h... (cached) yes > checking for size_t... (cached) yes > checking return type of signal handlers... (cached) void > checking for uint... yes > checking for ulong... yes > checking for vprintf... (cached) yes > checking for 8-bit clean memcmp... yes > checking for working alloca.h... (cached) yes > checking for alloca... (cached) yes > checking for memcpy... (cached) yes > checking for strdup... (cached) yes > checking for getpid... yes > checking for kill... yes > checking for strtod... yes > checking for strtol... yes > checking for finite... (cached) yes > checking for fpclass... yes > checking whether sprintf is broken... (cached) no > checking for finite... (cached) yes > checking for isfinite... no > checking for isinf... no > checking for isnan... yes > checking whether fp_except is defined... no > checking for dlfcn.h... (cached) yes > checking whether dlsym() requires a leading underscore in symbol names... no > checking whether to enable thread-safety... no > checking whether to enable inline optimization for GCC... yes > checking whether to enable a memory limit... no > checking whether to enable Zend debugging... no > checking whether to enable Zend multibyte... no > checking for inline... (cached) inline > > Configuring TSRM > checking for stdarg.h... (cached) yes > > Configuring libtool > checking for Cygwin environment... no > checking for mingw32 environment... no > checking build system type... sparc-sun-solaris2.8 > checking for ld used by GCC... /usr/ccs/bin/ld > checking if the linker (/usr/ccs/bin/ld) is GNU ld... no > checking for /usr/ccs/bin/ld option to reload object files... -r > checking for BSD-compatible nm... /usr/ccs/bin/nm -p > checking for a sed that does not truncate output... /usr/xpg4/bin/sed > checking how to recognise dependent libraries... pass_all > checking for object suffix... o > checking for executable suffix... no > checking command to parse /usr/ccs/bin/nm -p output... ok > checking for ranlib... (cached) : > checking for strip... no > checking for objdir... .libs > checking for gcc option to produce PIC... -fPIC > checking if gcc PIC flag -fPIC works... yes > checking if gcc static flag -static works... yes > checking if gcc supports -c -o file.o... yes > checking if gcc supports -c -o file.lo... yes > checking if gcc supports -fno-rtti -fno-exceptions... yes > checking whether the linker (/usr/ccs/bin/ld) supports shared libraries... yes > checking how to hardcode library paths into programs... immediate > checking whether stripping libraries is possible... no > checking dynamic linker characteristics... solaris2.8 ld.so > checking if libtool supports shared libraries... yes > checking whether to build shared libraries... yes > checking whether to build static libraries... no > creating libtool > > Generating files > updating cache ./config.cache > creating ./config.status > creating php4.spec > creating main/build-defs.h > creating scripts/phpize > creating scripts/php-config > creating sapi/cli/php.1 > creating main/php_config.h > creating main/internal_functions.c > creating main/internal_functions_cli.c > +--------------------------------------------------------------------+ > | *** 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. | > | | > | If you are unable to fix this, send the file debug.log to the | > | php-install@lists.php.net mailing list and include appropiate | > | information about your setup. | > +--------------------------------------------------------------------+ > | *** WARNING *** | > | | > | You chose to compile PHP with the built-in MySQL support. If you | > | are compiling a server module, and intend to use other server | > | modules that also use MySQL (e.g, mod_auth_mysql, PHP 3.0, | > | mod_perl) you must NOT rely on PHP's built-in MySQL support, and | > | instead build it with your local MySQL support files, by adding | > | --with-mysql=/path/to/mysql to your configure line. | > +--------------------------------------------------------------------+ > | Notice: | > | If you encounter <defunc> processes when using a local Oracle-DB | > | please recompile PHP and specify --enable-sigchild when configuring| > | (This problem has been reported under Linux using Oracle >= 8.1.5) | > +--------------------------------------------------------------------+ > | License: | > | This software is subject to the PHP License, available in this | > | distribution in the file LICENSE. By continuing this installation | > | process, you are bound by the terms of this license agreement. | > | If you do not agree with the terms of this license, you must abort | > | the installation process at this point. | > +--------------------------------------------------------------------+ > | *** NOTE *** | > | The default for register_globals is now OFF! | > | | > | If your application relies on register_globals being ON, you | > | should explicitly set it to on in your php.ini file. | > | Note that you are strongly encouraged to read | > | http://www.php.net/manual/en/security.registerglobals.php | > | about the implications of having register_globals set to on, and | > | avoid using it if possible. | > +--------------------------------------------------------------------+ > > > > Here is my debug.log output: > > CONFIGURE: './configure' '--prefix=/usr/local/php' > '--with-apxs2=/usr/local/apache2/bin/apxs' '--with-config-file-path=/us > r/local/php' '--with-mysql' '--with-oracle=/app/oracle/product/920_64' > '--with-oci8=/app/oracle/product/920_64' > CC: gcc > CFLAGS: -g -O2 > CPPFLAGS: -D_POSIX_PTHREAD_SEMANTICS > CXX: > CXXFLAGS: > INCLUDES: -I$(top_builddir)/Zend -I/app/oracle/product/920_64/rdbms/demo > LDFLAGS: -R/usr/ucblib -L/usr/ucblib > -R/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2 > -L/usr/local/lib/gcc-lib/sparc- > sun-solaris2.8/3.3.2 -R/app/oracle/product/920_64/lib > -L/app/oracle/product/920_64/lib > LIBS: -lresolv -lm -ldl -lnsl -lsocket -lgcc -lnsl -lsocket -lgen -ldl > -lclntsh -lnsl -lsocket -lgen -ldl -lclntsh > DLIBS: > SAPI: apache2handler > PHP_RPATHS: /usr/ucblib /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2 > /app/oracle/product/920_64/lib > uname -a: SunOS funix 5.8 Generic_108528-21 sun4u sparc SUNW,Ultra-250 > > gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib > -L/usr/ucblib -R/usr/local/lib/gcc-lib/sparc-sun-solaris2. > 8/3.3.2 -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2 > -R/app/oracle/product/920_64/lib -L/app/oracle/product/920_64/li > b conftest.c -lresolv -lm -ldl -lnsl -lsocket -lgcc -lnsl -lsocket -lgen > -ldl -lclntsh -lnsl -lsocket -lgen -ldl -lclntsh 1 > >&5 > ld: fatal: file /app/oracle/product/920_64/lib/libclntsh.so: wrong ELF class: > ELFCLASS64 > ld: fatal: file /app/oracle/product/920_64/lib/libclntsh.so: wrong ELF class: > ELFCLASS64 > ld: fatal: File p > rocessing errors. No output written to conftest > collect2: ld returned 1 exit status > > > What do I need to do to get oracle to work with this version of PHP? >