Hi,
I have a Linux system, running Fedora Core 1 with:
kernel: 2.4.22-1.2188.nptlsmp
gcc: gcc-3.3.2-1
apache: httpd-2.0.49-1.1
The Oracle8 installation was sucessfull, the client connects perfectly with the Oracle 9.2.0.1 running in win2k plataform.
I want to compile php with Oracle support, I try with php-4.3.6 and 4.3.7 with the same errors
# ./configure --host=i386-redhat-linux --build=i386-redhat-linux \
--target=i386-redhat-linux-gnu --program-prefix= --prefix=/usr \
--exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin \
--sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include \
--libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var \
--with-openssl=/usr/ --with-zlib --with-pear=/usr/share/pear \
--with-oci8=/u01/app/oracle/product/8.1 \
--with-mysql \
--with-apxs2=/usr/sbin/apxs
and no problems, but when I run make
#make
-----a lots of output------
/root/php-4.3.7/ext/mysql/libmysql/my_tempnam.c:115: warning: the use of `tempnam' is dangerous, better use `mkstemp'
/u01/app/oracle/product/8.1/lib/libclntsh.so: undefined reference to `__ctype_b'
/u01/app/oracle/product/8.1/lib/libclntsh.so: undefined reference to `__ctype_toupper'
/u01/app/oracle/product/8.1/lib/libclntsh.so: undefined reference to `__ctype_tolower'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
Any ideas?