hi everybody,

i'm trying to compile php version 4.0.4pl1 on solaris 2.6 (CPU X86) in
executable cgi-bin file for using with Apache serveur and Oracle 8.05 client
acces.

when i try this :

./configure --with-oracle=/opt/oracle805

the file debug.log contain then some undefined symbol :



"#more debug.log
CONFIGURE:   './configure' '--with-oracle=/opt/oracle805'
CC:         gcc
CFLAGS:     -g -O2
CPPFLAGS:    -D_POSIX_PTHREAD_SEMANTICS
CXX:
CXXFLAGS:
INCLUDES:      -I$(top_builddir)/Zend -I/tmp/php-4.0.4pl1/ext/mysql/libmysql
 -I/opt/oracle805/rdbms/public -I/opt/oracle805/rdbms/de
mo -I/opt/oracle805/network/public -I/opt/oracle805/plsql/public
LDFLAGS:     -R/usr/ucblib -L/usr/ucblib -R/opt/FSFegcs/lib/gcc-lib/i386-pc-
solaris2.6/egcs-2.90.29 -L/opt/FSFegcs/lib/gcc-lib/i386-
pc-solaris2.6/egcs-2.90.29 -R/opt/oracle805/lib -L/opt/oracle805/lib
LIBS:       -lclntsh -lpsa -lcore4 -lnlsrtl3 -lm -lposix4 -laio -lelf -ldl -
lmw -lgen -lnsl -lsocket -lresolv -lresolv -lm -ldl -lcr
ypt -lnsl -lsocket  -lsocket -lgcc
DLIBS:
SAPI:       cgi
PHP_RPATHS:  /usr/ucblib
/opt/FSFegcs/lib/gcc-lib/i386-pc-solaris2.6/egcs-2.90.29 /opt/oracle805/lib
uname -a:   SunOS zinc 5.6 Generic_105182-12 i86pc i386 i86pc

gcc -o
conftest -g -O2  -D_POSIX_PTHREAD_SEMANTICS  -R/usr/ucblib -L/usr/ucblib -R/
opt/FSFegcs/lib/gcc-lib/i386-pc-solaris2.6/egcs-2
.90.29 -L/opt/FSFegcs/lib/gcc-lib/i386-pc-solaris2.6/egcs-2.90.29 -R/opt/ora
cle805/lib -L/opt/oracle805/lib conftest.c -lclntsh -lps
a -lcore4 -lnlsrtl3 -lm -lposix4 -laio -lelf -ldl -lmw -lgen -lnsl -lsocket 
-lresolv -lresolv -lm -ldl -lcrypt -lnsl -lsocket  -lsoc
ket -lgcc 1>&5
Undefined                       first referenced
 symbol                             in file
ncrfiv                              /opt/oracle805/lib/libclntsh.so
nttini                              /opt/oracle805/lib/libclntsh.so
osncon                              /opt/oracle805/lib/libclntsh.so
niqname                             /opt/oracle805/lib/libclntsh.so
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status"


idem when i try to compile with make :

"....
Undefined                       first referenced
 symbol                             in file
ncrfiv                              /opt/oracle805/lib/libclntsh.so
nttini                              /opt/oracle805/lib/libclntsh.so
orol                                .libs/libphp4.a(oracle.o)
oexfet                              .libs/libphp4.a(oracle.o)
ocof                                .libs/libphp4.a(oracle.o)
ocom                                .libs/libphp4.a(oracle.o)
ocon                                .libs/libphp4.a(oracle.o)
osncon                              /opt/oracle805/lib/libclntsh.so
odescr                              .libs/libphp4.a(oracle.o)
niqname                             /opt/oracle805/lib/libclntsh.so
ofetch                              .libs/libphp4.a(oracle.o)
oflng                               .libs/libphp4.a(oracle.o)
ld: fatal: Symbol referencing errors. No output written to php
collect2: ld returned 1 exit status
make[1]: *** [php] Error 1
make[1]: Leaving directory `/tmp/php-4.0.4pl1'
make: *** [all-recursive] Error 1"

Is there a pb with the last PHP version and Oracle-client version 805?

So did anyone know what is the matter?


thanks a lot for your help

sébastien Pétré.
mail : [EMAIL PROTECTED]






-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to