#20500 [NEW]: I can't compile php-4.2.3. with oracle9i and apache_1.3.26
| From: | bruiz at acelerate dot com | Date: | Tue, 19 Nov 2002 19:37:55 +0000 |
| Subject: | #20500 [NEW]: I can't compile php-4.2.3. with oracle9i and apache_1.3.26 | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-25286@lists.php.net to get a copy of this message | ||
From: bruiz@acelerate.com
Operating system: SunOS servicios2 5.9 Generic_112
PHP version: 4.2.3
PHP Bug Type: Compile Failure
Bug description: I can't compile php-4.2.3. with oracle9i and apache_1.3.26
i have configure my php with the following line:
./configure --with-config-file-path=/etc --enable-magic-quotes
--enable-debug --with-oci8=/u01/app/oracle/product/9.2.0.1.0 --enabl
e-socket --with-apache=/export/home0/src/apache_1.3.27
but when i try to compile it i get the following error:
ld: fatal: file /u01/app/oracle/product/9.2.0.1.0/lib/libclntsh.so: wrong
ELF class: ELFCLASS64
ld: fatal: File processing errors. No output written to conftest
i have try to change the libraries link to the lib32 in the oracle
directory but it didn't workout.
This is what my debug.log show:
CONFIGURE: './configure' '--with-config-file-path=/etc'
'--enable-magic-quotes' '--enable-debug'
'--with-oci8=/u01/app/oracle/prod
uct/9.2.0.1.0' '--enable-socket'
CC: gcc
CFLAGS: -g -O2
CPPFLAGS: -D_POSIX_PTHREAD_SEMANTICS
CXX:
CXXFLAGS:
INCLUDES: -I$(top_builddir)/Zend
-I/export/home0/src/php-4.2.3/ext/mysql/libmysql
-I/u01/app/oracle/product/9.2.0.1.0/rdbms/pub
lic -I/u01/app/oracle/product/9.2.0.1.0/rdbms/demo
-I/u01/app/oracle/product/9.2.0.1.0/plsql/public
LDFLAGS: -R/usr/ucblib -L/usr/ucblib
-R/usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.2
-L/usr/local/lib/gcc-lib/sparc-sun-solari
s2.9/3.2 -R/u01/app/oracle/product/9.2.0.1.0/lib
-L/u01/app/oracle/product/9.2.0.1.0/lib
LIBS: -lcrypt -lresolv -lresolv -lresolv -lm -ldl -lnsl -lsocket
-lsocket -lgcc -lcrypt -lnsl -lsocket -lgen -ldl -lclntsh
DLIBS:
SAPI: cgi
PHP_RPATHS: /usr/ucblib /usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.2
/u01/app/oracle/product/9.2.0.1.0/lib
uname -a: SunOS servicios2 5.9 Generic_112233-01 sun4u sparc
SUNW,Ultra-4
gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib
-L/usr/ucblib -R/usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.2 -L
/usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.2
-R/u01/app/oracle/product/9.2.0.1.0/lib
-L/u01/app/oracle/product/9.2.0.1.0/lib conf
test.c -lcrypt -lresolv -lresolv -lresolv -lm -ldl -lnsl -lsocket
-lsocket -lgcc -lcrypt -lnsl -lsocket -lgen -ldl -lclntsh 1>&5
ld: fatal: file /u01/app/oracle/product/9.2.0.1.0/lib/libclntsh.so: wrong
ELF class: ELFCLASS64
ld: fatal: File processing errors. No output written to conftest
collect2: ld returned 1 exit status
--
Edit bug report at http://bugs.php.net/?id=20500&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=20500&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=20500&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=20500&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=20500&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=20500&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=20500&r=support
Expected behavior: http://bugs.php.net/fix.php?id=20500&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=20500&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=20500&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=20500&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20500&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=20500&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=20500&r=isapi