ID: 24328 Updated by: [EMAIL PROTECTED] Reported By: Pavel dot Zakouril at mff dot cuni dot cz -Status: Open +Status: Feedback Bug Type: Dynamic loading Operating System: UnixWare 7.1.1 PHP Version: 4.3.2 New Comment:
Where did that 'liboci8.so' come from? It should be just oci8.so. What does 'ldd liboci8.so' output? Why do you set EXTRA_LIBS before running configure..? Does building oci8 via the phpize way work? (cd ext/oci8 && phpize && ./configure --with-oci8=/u01/app/oracle/product/8.1.7 && make) Previous Comments: ------------------------------------------------------------------------ [2003-06-25 05:07:23] Pavel dot Zakouril at mff dot cuni dot cz Description: ------------ I have installed PHP 4.3.2 by following way: export ORACLE_HOME=/u01/app/oracle/product/8.1.7 export LD_LIBRARY_PATH=/usr/local/lib:$ORACLE_HOME/lib export CC=cc export EXTRA_LIBS='-lthread -lucb' ./configure --with-oci8=shared --with-apxs --without-mysql --without-pear --enable-sigchild make make install Apache module works fine, but CLI version built at the same time fails with the following message: ducklet 191# php PHP Warning: Unknown(): Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20020429/liboci8.so' - dynamic linker: php: relocation error: symbol not found: executor_globals; referenced from: /usr/local/lib/php/extensions/no-debug-non-zts-20020429/liboci8.so in Unknown on line 0 What can be wrong ? ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=24328&edit=1