Good Day, really thanks for all your help we install oracle 32bits client and try again to compile the oci8.so but get a new error, at end of message.
bash-3.2# ./pecl install oci8 downloading oci8-2.0.8.tgz ... Starting to download oci8-2.0.8.tgz (190,854 bytes) .........................................done: 190,854 bytes 11 source files, building WARNING: php_bin /opt/csw/php5/bin/php appears to have a suffix 5/bin/php, but config variable php_suffix does not match running: phpize Configuring for: PHP Api Version: 20090626 Zend Module Api No: 20090626 Zend Extension Api No: 220090626 configure.in:3: warning: prefer named diversions configure.in:3: warning: prefer named diversions Please provide the path to the ORACLE_HOME directory. Use 'instantclient,/path/to/instant/client/lib' if you're compiling with Oracle Instant Client [autodetect] : /oracle/app/oracle/product/11.2.0/dbhome_1 building in /tmp/pear/temp/pear-build-defaultuserwfaqZo/oci8-2.0.8 running: /tmp/pear/temp/oci8/configure --with-oci8=/oracle/app/oracle/product/11.2.0/dbhome_1 checking for grep that handles long lines and -e... /usr/sfw/bin/ggrep checking for egrep... /usr/sfw/bin/ggrep -E checking for a sed that does not truncate output... /usr/bin/sed checking for cc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E checking for icc... no checking for suncc... no checking whether gcc and cc understand -c and -o together... yes checking for system library directory... lib checking if compiler supports -R... yes checking build system type... sparc-sun-solaris2.10 checking host system type... sparc-sun-solaris2.10 checking target system type... sparc-sun-solaris2.10 checking for PHP prefix... /opt/csw/php5 checking for PHP includes... -I/opt/csw/php5/include/php -I/opt/csw/php5/include/php/main -I/opt/csw/php5/include/php/TSRM -I/opt/csw/php5/include/php/Zend -I/opt/csw/php5/include/php/ext -I/opt/csw/php5/include/php/ext/date/lib checking for PHP extension directory... /opt/csw/php5/lib/php/extensions/no-debug-non-zts-20090626 checking for PHP installed headers prefix... /opt/csw/php5/include/php checking if debug is enabled... no checking if zts is enabled... no checking for re2c... no configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers. checking for gawk... no checking for nawk... nawk checking if nawk is broken... no checking for Oracle Database OCI8 support... yes, shared checking PHP version... 5.3.21, ok checking OCI8 DTrace support... no checking size of long int... 4 checking checking if we're on a 64-bit platform... no checking Oracle ORACLE_HOME install directory... /oracle/app/oracle/product/11.2.0/dbhome_1 checking ORACLE_HOME library validity... lib32 checking Oracle library version compatibility... 11.1 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 whether ln -s works... yes checking how to recognize dependent libraries... pass_all checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking the maximum length of command line arguments... 786240 checking command to parse /usr/ccs/bin/nm -p output from gcc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/ccs/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... yes checking dynamic linker characteristics... solaris2.10 ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... no checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no creating libtool appending configuration tag "CXX" to libtool configure: creating ./config.status config.status: creating config.h running: make /bin/bash /tmp/pear/temp/pear-build-defaultuserwfaqZo/oci8-2.0.8/libtool --mode=compile gcc -I. -I/tmp/pear/temp/oci8 -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuserwfaqZo/oci8-2.0.8/include -I/tmp/pear/temp/pear-build-defaultuserwfaqZo/oci8-2.0.8/main -I/tmp/pear/temp/oci8 -I/opt/csw/php5/include/php -I/opt/csw/php5/include/php/main -I/opt/csw/php5/include/php/TSRM -I/opt/csw/php5/include/php/Zend -I/opt/csw/php5/include/php/ext -I/opt/csw/php5/include/php/ext/date/lib -I/oracle/app/oracle/product/11.2.0/dbhome_1/rdbms/public -I/oracle/app/oracle/product/11.2.0/dbhome_1/rdbms/demo -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/oci8/oci8.c -o oci8.lo mkdir .libs gcc -I. -I/tmp/pear/temp/oci8 -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuserwfaqZo/oci8-2.0.8/include -I/tmp/pear/temp/pear-build-defaultuserwfaqZo/oci8-2.0.8/main -I/tmp/pear/temp/oci8 -I/opt/csw/php5/include/php -I/opt/csw/php5/include/php/main -I/opt/csw/php5/include/php/TSRM -I/opt/csw/php5/include/php/Zend -I/opt/csw/php5/include/php/ext -I/opt/csw/php5/include/php/ext/date/lib -I/oracle/app/oracle/product/11.2.0/dbhome_1/rdbms/public -I/oracle/app/oracle/product/11.2.0/dbhome_1/rdbms/demo -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/oci8/oci8.c -fPIC -DPIC -o .libs/oci8.o /bin/bash /tmp/pear/temp/pear-build-defaultuserwfaqZo/oci8-2.0.8/libtool --mode=compile gcc -I. -I/tmp/pear/temp/oci8 -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuserwfaqZo/oci8-2.0.8/include -I/tmp/pear/temp/pear-build-defaultuserwfaqZo/oci8-2.0.8/main -I/tmp/pear/temp/oci8 -I/opt/csw/php5/include/php -I/opt/csw/php5/include/php/main -I/opt/csw/php5/include/php/TSRM -I/opt/csw/php5/include/php/Zend -I/opt/csw/php5/include/php/ext -I/opt/csw/php5/include/php/ext/date/lib -I/oracle/app/oracle/product/11.2.0/dbhome_1/rdbms/public -I/oracle/app/oracle/product/11.2.0/dbhome_1/rdbms/demo -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/oci8/oci8_lob.c -o oci8_lob.lo gcc -I. -I/tmp/pear/temp/oci8 -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuserwfaqZo/oci8-2.0.8/include -I/tmp/pear/temp/pear-build-defaultuserwfaqZo/oci8-2.0.8/main -I/tmp/pear/temp/oci8 -I/opt/csw/php5/include/php -I/opt/csw/php5/include/php/main -I/opt/csw/php5/include/php/TSRM -I/opt/csw/php5/include/php/Zend -I/opt/csw/php5/include/php/ext -I/opt/csw/php5/include/php/ext/date/lib -I/oracle/app/oracle/product/11.2.0/dbhome_1/rdbms/public -I/oracle/app/oracle/product/11.2.0/dbhome_1/rdbms/demo -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/oci8/oci8_lob.c -fPIC -DPIC -o .libs/oci8_lob.o /bin/bash /tmp/pear/temp/pear-build-defaultuserwfaqZo/oci8-2.0.8/libtool --mode=compile gcc -I. -I/tmp/pear/temp/oci8 -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuserwfaqZo/oci8-2.0.8/include -I/tmp/pear/temp/pear-build-defaultuserwfaqZo/oci8-2.0.8/main -I/tmp/pear/temp/oci8 -I/opt/csw/php5/include/php -I/opt/csw/php5/include/php/main -I/opt/csw/php5/include/php/TSRM -I/opt/csw/php5/include/php/Zend -I/opt/csw/php5/include/php/ext -I/opt/csw/php5/include/php/ext/date/lib -I/oracle/app/oracle/product/11.2.0/dbhome_1/rdbms/public -I/oracle/app/oracle/product/11.2.0/dbhome_1/rdbms/demo -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/oci8/oci8_statement.c -o oci8_statement.lo gcc -I. -I/tmp/pear/temp/oci8 -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuserwfaqZo/oci8-2.0.8/include -I/tmp/pear/temp/pear-build-defaultuserwfaqZo/oci8-2.0.8/main -I/tmp/pear/temp/oci8 -I/opt/csw/php5/include/php -I/opt/csw/php5/include/php/main -I/opt/csw/php5/include/php/TSRM -I/opt/csw/php5/include/php/Zend -I/opt/csw/php5/include/php/ext -I/opt/csw/php5/include/php/ext/date/lib -I/oracle/app/oracle/product/11.2.0/dbhome_1/rdbms/public -I/oracle/app/oracle/product/11.2.0/dbhome_1/rdbms/demo -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/oci8/oci8_statement.c -fPIC -DPIC -o .libs/oci8_statement.o /bin/bash /tmp/pear/temp/pear-build-defaultuserwfaqZo/oci8-2.0.8/libtool --mode=compile gcc -I. -I/tmp/pear/temp/oci8 -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuserwfaqZo/oci8-2.0.8/include -I/tmp/pear/temp/pear-build-defaultuserwfaqZo/oci8-2.0.8/main -I/tmp/pear/temp/oci8 -I/opt/csw/php5/include/php -I/opt/csw/php5/include/php/main -I/opt/csw/php5/include/php/TSRM -I/opt/csw/php5/include/php/Zend -I/opt/csw/php5/include/php/ext -I/opt/csw/php5/include/php/ext/date/lib -I/oracle/app/oracle/product/11.2.0/dbhome_1/rdbms/public -I/oracle/app/oracle/product/11.2.0/dbhome_1/rdbms/demo -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/oci8/oci8_collection.c -o oci8_collection.lo gcc -I. -I/tmp/pear/temp/oci8 -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuserwfaqZo/oci8-2.0.8/include -I/tmp/pear/temp/pear-build-defaultuserwfaqZo/oci8-2.0.8/main -I/tmp/pear/temp/oci8 -I/opt/csw/php5/include/php -I/opt/csw/php5/include/php/main -I/opt/csw/php5/include/php/TSRM -I/opt/csw/php5/include/php/Zend -I/opt/csw/php5/include/php/ext -I/opt/csw/php5/include/php/ext/date/lib -I/oracle/app/oracle/product/11.2.0/dbhome_1/rdbms/public -I/oracle/app/oracle/product/11.2.0/dbhome_1/rdbms/demo -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/oci8/oci8_collection.c -fPIC -DPIC -o .libs/oci8_collection.o /bin/bash /tmp/pear/temp/pear-build-defaultuserwfaqZo/oci8-2.0.8/libtool --mode=compile gcc -I. -I/tmp/pear/temp/oci8 -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuserwfaqZo/oci8-2.0.8/include -I/tmp/pear/temp/pear-build-defaultuserwfaqZo/oci8-2.0.8/main -I/tmp/pear/temp/oci8 -I/opt/csw/php5/include/php -I/opt/csw/php5/include/php/main -I/opt/csw/php5/include/php/TSRM -I/opt/csw/php5/include/php/Zend -I/opt/csw/php5/include/php/ext -I/opt/csw/php5/include/php/ext/date/lib -I/oracle/app/oracle/product/11.2.0/dbhome_1/rdbms/public -I/oracle/app/oracle/product/11.2.0/dbhome_1/rdbms/demo -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/oci8/oci8_interface.c -o oci8_interface.lo gcc -I. -I/tmp/pear/temp/oci8 -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuserwfaqZo/oci8-2.0.8/include -I/tmp/pear/temp/pear-build-defaultuserwfaqZo/oci8-2.0.8/main -I/tmp/pear/temp/oci8 -I/opt/csw/php5/include/php -I/opt/csw/php5/include/php/main -I/opt/csw/php5/include/php/TSRM -I/opt/csw/php5/include/php/Zend -I/opt/csw/php5/include/php/ext -I/opt/csw/php5/include/php/ext/date/lib -I/oracle/app/oracle/product/11.2.0/dbhome_1/rdbms/public -I/oracle/app/oracle/product/11.2.0/dbhome_1/rdbms/demo -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/oci8/oci8_interface.c -fPIC -DPIC -o .libs/oci8_interface.o /bin/bash /tmp/pear/temp/pear-build-defaultuserwfaqZo/oci8-2.0.8/libtool --mode=link gcc -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuserwfaqZo/oci8-2.0.8/include -I/tmp/pear/temp/pear-build-defaultuserwfaqZo/oci8-2.0.8/main -I/tmp/pear/temp/oci8 -I/opt/csw/php5/include/php -I/opt/csw/php5/include/php/main -I/opt/csw/php5/include/php/TSRM -I/opt/csw/php5/include/php/Zend -I/opt/csw/php5/include/php/ext -I/opt/csw/php5/include/php/ext/date/lib -I/oracle/app/oracle/product/11.2.0/dbhome_1/rdbms/public -I/oracle/app/oracle/product/11.2.0/dbhome_1/rdbms/demo -DHAVE_CONFIG_H -g -O2 -o oci8.la -export-dynamic -avoid-version -prefer-pic -module -rpath /tmp/pear/temp/pear-build-defaultuserwfaqZo/oci8-2.0.8/modules oci8.lo oci8_lob.lo oci8_statement.lo oci8_collection.lo oci8_interface.lo -R/oracle/app/oracle/product/11.2.0/dbhome_1/lib32 -L/oracle/app/oracle/product/11.2.0/dbhome_1/lib32 -lclntsh gcc -shared -Wl,-h -Wl,oci8.so -o .libs/oci8.so .libs/oci8.o .libs/oci8_lob.o .libs/oci8_statement.o .libs/oci8_collection.o .libs/oci8_interface.o -R/oracle/app/oracle/product/11.2.0/dbhome_1/lib32 -L/oracle/app/oracle/product/11.2.0/dbhome_1/lib32 -lclntsh -lc *ld: fatal: library -lclntsh: not found* ld: fatal: file processing errors. No output written to .libs/oci8.so collect2: ld returned 1 exit status *** Error code 1 *make: Fatal error: Command failed for target `oci8.la <http://oci8.la/>'* ERROR: `make' failed bash-3.2#
