#31794 [Bgs]: Unable to build Oracle oci8.so module
ID: 31794 User updated by: mp at ecetra dot com Reported By: mp at ecetra dot com Status: Bogus Bug Type: *Compile Issues Operating System: Linux RH EL ES 3 PHP Version: 4CVS-2005-02-01 (stable) New Comment: hello, i am not sure if you are interested in this information, but i was able to compile newest snpashot on the same system without changing anything. whatever you did or not, thanks you! -michael Previous Comments: [2005-02-03 10:57:08] mp at ecetra dot com so i have no choice than wait till someone else has the same problem. just for your information: - adding oracle libs path to ld.so.conf is completely senseless and do not change anything cause LD_LIBRARY_PATH and ORACLE_HOME are set by me first during compilation process and then in the apache startup environment - i compiled oci8 support into 4CVS version without problem using Oracle Instant Client (using according parameter) so if someone (not from PHP) is able to compile oci8 support into 4CVS version with --with-oci8 option, please tell. Thank you all for your help! Kr, -michael [2005-02-02 17:12:50] [EMAIL PROTECTED] Nothing has changed in PHP regarding this. You actually should have the path to the oracle libraries in /etc/ld.so.conf (add it there and then run ldconfig). Not PHP bug -> Bogus. [2005-02-02 10:41:43] mp at ecetra dot com Ok, it is not there: [EMAIL PROTECTED]:/home/mp/BUILD/php4/modules# ls curl.so ldap.so mcrypt.so mhash.so mysql.so snmp.so > as far as I can see you're having some problems with OCI libraries. > fix them and try again. why do think so? i can compile 4.3.10 without ANY problems on the same system, at the same time, without setting any environment variables as is told i my previous comment. Kr, -michael [2005-02-02 10:25:02] [EMAIL PROTECTED] >Tried to do it manually - same result, no oci8.so is >created by make install. created where? and why make install should create it? it should appear in modules/ after `make`. >error while loading shared libraries: >libclntsh.so.9.0: cannot open shared object file: No such >file or directory as far as I can see you're having some problems with OCI libraries. fix them and try again. -------- [2005-02-02 09:53:57] mp at ecetra dot com Tried to do it manually - same result, no oci8.so is created by make install. There are not errors during compilation process, but one thing has changed since 4.3.10 (final): LD_LIBRARY_PATH (=/opt/oracle/product/9.2.0/lib) must be set now, otherwise i get this during make install: [EMAIL PROTECTED]:/home/mp/BUILD/php4# make install Installing PHP SAPI module: apache2filter /usr/lib/httpd/build/instdso.sh SH_LIBTOOL='/usr/lib/httpd/build/libtool' libphp4.la /usr/lib/httpd/modules /usr/lib/httpd/build/libtool --mode=install cp libphp4.la /usr/lib/httpd/modules/ cp .libs/libphp4.so /usr/lib/httpd/modules/libphp4.so cp .libs/libphp4.lai /usr/lib/httpd/modules/libphp4.la libtool: install: warning: remember to run `libtool --finish /home/mp/rpmbuild/BUILD/php-4.3.10snap/libs' chmod 755 /usr/lib/httpd/modules/libphp4.so [activating module `php4' in /etc/httpd/conf/httpd.conf] Installing PHP CLI binary:/opt/phptest/bin/ Installing PHP CLI man page: /opt/phptest/man/man1/ Installing shared extensions: /opt/phptest/lib/php/extensions/no-debug-non-zts-20020429/ Installing PEAR environment: /opt/phptest/pear/ /home/mp/BUILD/php4/sapi/cli/php: error while loading shared libraries: libclntsh.so.9.0: cannot open shared object file: No such file or directory make[1]: *** [install-pear-installer] Error 127 make: *** [install-pear] Error 2 Apache version is 2.0.50 System: Red Hat Enterprise Linux ES release 3 (Taroon Update 1) Kr, -michael The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/31794 -- Edit this bug report at http://bugs.php.net/?id=31794&edit=1
#31038 [Com]: Segmentation fault on ocilogon
ID: 31038 Comment by: mp at ecetra dot com Reported By: damien dot harper at keops dot net Status: Assigned Bug Type: OCI8 related Operating System: Red Hat 8 PHP Version: 4.3.10RC2 Assigned To: tony2001 New Comment: It can't be the right solution, cause apache can run under apache, httpd, whatever user and use php oci libs. have you compiled/recompiled your apache and/or php? i ask because i encounter the same problem if the oracle libs used for compilations process differ from those in runtime environment (it can be, but must not) cheers, -michael Previous Comments: [2004-12-15 12:01:20] damien dot harper at keops dot net Well, I found what was wrong ! I must run apache with user oracle and group oinstall (oracle has been installed with oracle user in oinstall group) Now everything is OK, thanks for your replies ;-) [2004-12-15 03:59:49] [EMAIL PROTECTED] I bet it's still the same issue as always: missing environment variable definitions for webserver. (as it works fine with CLI..) [2004-12-14 22:00:40] [EMAIL PROTECTED] Give me some time for testing. ATM I can tell only that Apache2 is not recommended for production environment and this will not be changed in the nearest future. At least, you should use prefork if you have to stick with Apache2. [2004-12-14 19:52:14] damien dot harper at keops dot net I'd prefer to stick with 4.x.x branch for compatibility. It will be used on a production server and we can't loose time to check that everything is OK with PHP 5.x now. Nobody has any idea how to solve this trouble ? [2004-12-14 19:33:33] [EMAIL PROTECTED] Are you able to try latest release from 5.0.x branch? The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/31038 -- Edit this bug report at http://bugs.php.net/?id=31038&edit=1
#31794 [Bgs]: Unable to build Oracle oci8.so module
ID: 31794 User updated by: mp at ecetra dot com Reported By: mp at ecetra dot com Status: Bogus Bug Type: *Compile Issues Operating System: Linux RH EL ES 3 PHP Version: 4CVS-2005-02-01 (stable) New Comment: so i have no choice than wait till someone else has the same problem. just for your information: - adding oracle libs path to ld.so.conf is completely senseless and do not change anything cause LD_LIBRARY_PATH and ORACLE_HOME are set by me first during compilation process and then in the apache startup environment - i compiled oci8 support into 4CVS version without problem using Oracle Instant Client (using according parameter) so if someone (not from PHP) is able to compile oci8 support into 4CVS version with --with-oci8 option, please tell. Thank you all for your help! Kr, -michael Previous Comments: [2005-02-02 17:12:50] [EMAIL PROTECTED] Nothing has changed in PHP regarding this. You actually should have the path to the oracle libraries in /etc/ld.so.conf (add it there and then run ldconfig). Not PHP bug -> Bogus. [2005-02-02 10:41:43] mp at ecetra dot com Ok, it is not there: [EMAIL PROTECTED]:/home/mp/BUILD/php4/modules# ls curl.so ldap.so mcrypt.so mhash.so mysql.so snmp.so > as far as I can see you're having some problems with OCI libraries. > fix them and try again. why do think so? i can compile 4.3.10 without ANY problems on the same system, at the same time, without setting any environment variables as is told i my previous comment. Kr, -michael [2005-02-02 10:25:02] [EMAIL PROTECTED] >Tried to do it manually - same result, no oci8.so is >created by make install. created where? and why make install should create it? it should appear in modules/ after `make`. >error while loading shared libraries: >libclntsh.so.9.0: cannot open shared object file: No such >file or directory as far as I can see you're having some problems with OCI libraries. fix them and try again. -------- [2005-02-02 09:53:57] mp at ecetra dot com Tried to do it manually - same result, no oci8.so is created by make install. There are not errors during compilation process, but one thing has changed since 4.3.10 (final): LD_LIBRARY_PATH (=/opt/oracle/product/9.2.0/lib) must be set now, otherwise i get this during make install: [EMAIL PROTECTED]:/home/mp/BUILD/php4# make install Installing PHP SAPI module: apache2filter /usr/lib/httpd/build/instdso.sh SH_LIBTOOL='/usr/lib/httpd/build/libtool' libphp4.la /usr/lib/httpd/modules /usr/lib/httpd/build/libtool --mode=install cp libphp4.la /usr/lib/httpd/modules/ cp .libs/libphp4.so /usr/lib/httpd/modules/libphp4.so cp .libs/libphp4.lai /usr/lib/httpd/modules/libphp4.la libtool: install: warning: remember to run `libtool --finish /home/mp/rpmbuild/BUILD/php-4.3.10snap/libs' chmod 755 /usr/lib/httpd/modules/libphp4.so [activating module `php4' in /etc/httpd/conf/httpd.conf] Installing PHP CLI binary:/opt/phptest/bin/ Installing PHP CLI man page: /opt/phptest/man/man1/ Installing shared extensions: /opt/phptest/lib/php/extensions/no-debug-non-zts-20020429/ Installing PEAR environment: /opt/phptest/pear/ /home/mp/BUILD/php4/sapi/cli/php: error while loading shared libraries: libclntsh.so.9.0: cannot open shared object file: No such file or directory make[1]: *** [install-pear-installer] Error 127 make: *** [install-pear] Error 2 Apache version is 2.0.50 System: Red Hat Enterprise Linux ES release 3 (Taroon Update 1) Kr, -michael [2005-02-01 18:27:57] [EMAIL PROTECTED] Not enough information. Try to build from plain sources without using any external tools like rpmbuild etc. The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/31794 -- Edit this bug report at http://bugs.php.net/?id=31794&edit=1
#31794 [Fbk->Opn]: Unable to build Oracle oci8.so module
ID: 31794 User updated by: mp at ecetra dot com Reported By: mp at ecetra dot com -Status: Feedback +Status: Open Bug Type: *Compile Issues Operating System: Linux RH EL ES 3 PHP Version: 4CVS-2005-02-01 (stable) New Comment: Ok, it is not there: [EMAIL PROTECTED]:/home/mp/BUILD/php4/modules# ls curl.so ldap.so mcrypt.so mhash.so mysql.so snmp.so > as far as I can see you're having some problems with OCI libraries. > fix them and try again. why do think so? i can compile 4.3.10 without ANY problems on the same system, at the same time, without setting any environment variables as is told i my previous comment. Kr, -michael Previous Comments: [2005-02-02 10:25:02] [EMAIL PROTECTED] >Tried to do it manually - same result, no oci8.so is >created by make install. created where? and why make install should create it? it should appear in modules/ after `make`. >error while loading shared libraries: >libclntsh.so.9.0: cannot open shared object file: No such >file or directory as far as I can see you're having some problems with OCI libraries. fix them and try again. -------- [2005-02-02 09:53:57] mp at ecetra dot com Tried to do it manually - same result, no oci8.so is created by make install. There are not errors during compilation process, but one thing has changed since 4.3.10 (final): LD_LIBRARY_PATH (=/opt/oracle/product/9.2.0/lib) must be set now, otherwise i get this during make install: [EMAIL PROTECTED]:/home/mp/BUILD/php4# make install Installing PHP SAPI module: apache2filter /usr/lib/httpd/build/instdso.sh SH_LIBTOOL='/usr/lib/httpd/build/libtool' libphp4.la /usr/lib/httpd/modules /usr/lib/httpd/build/libtool --mode=install cp libphp4.la /usr/lib/httpd/modules/ cp .libs/libphp4.so /usr/lib/httpd/modules/libphp4.so cp .libs/libphp4.lai /usr/lib/httpd/modules/libphp4.la libtool: install: warning: remember to run `libtool --finish /home/mp/rpmbuild/BUILD/php-4.3.10snap/libs' chmod 755 /usr/lib/httpd/modules/libphp4.so [activating module `php4' in /etc/httpd/conf/httpd.conf] Installing PHP CLI binary:/opt/phptest/bin/ Installing PHP CLI man page: /opt/phptest/man/man1/ Installing shared extensions: /opt/phptest/lib/php/extensions/no-debug-non-zts-20020429/ Installing PEAR environment: /opt/phptest/pear/ /home/mp/BUILD/php4/sapi/cli/php: error while loading shared libraries: libclntsh.so.9.0: cannot open shared object file: No such file or directory make[1]: *** [install-pear-installer] Error 127 make: *** [install-pear] Error 2 Apache version is 2.0.50 System: Red Hat Enterprise Linux ES release 3 (Taroon Update 1) Kr, -michael [2005-02-01 18:27:57] [EMAIL PROTECTED] Not enough information. Try to build from plain sources without using any external tools like rpmbuild etc. -------------------- [2005-02-01 16:55:49] mp at ecetra dot com Description: I downloaded the snap (php4-STABLE-200502011530.tar.bz2) and tried to build a RPM as i did it before with 4.3.10. The SPEC file was not changed (only source tarball filename). The problem is that oci8.so file is not created by 'make install'. Here is my configure string: ./configure \ --prefix=%{_installprefix} \ --sysconfdir=/etc/httpd/conf \ --with-apxs2filter \ --with-config-file-path=%{_sysconfdir}/httpd/conf \ --with-config-file-scan-dir=%{_sysconfdir}/httpd/conf/php.d \ --disable-debug \ --with-curl=shared \ --with-mysql=shared \ --without-pgsql \ --without-oracle \ --with-oci8=shared,/opt/oracle/product/9.2.0 \ --with-openssl=/usr \ --with-mcrypt=shared,/usr \ --with-mhash=shared,/usr \ --with-snmp=shared,/usr \ --with-mm=shared \ --with-ldap=shared \ --with-bz2 \ --enable-inline-optimization \ --with-gettext \ --with-png \ --with-gd \ --with-freetype-dir \ --with-png-dir \ --enable-track-vars \ --enable-wddx \ --with-ttf \ --enable-gd-native-ttf \ --enable-magic-quotes \ --enable-safe-mode \ --enable-sockets \ --enable-sysvsem \ --enable-sysvshm \ --with-xml \ --with-sablot=/usr/lib \ --with-expat=/usr/lib \ --with-pear=%{_datadir}/pear \ --with-ncurses \ --with-regex=system \ --with-jpeg-dir=/usr \ --enable-memory-limit \ --disable-rpath \ --without-dba \ --without-imap \ --with-kerberos=/usr/kerberos \ --with-db4 \ --enable-pic \
#31794 [Fbk->Opn]: Unable to build Oracle oci8.so module
ID: 31794 User updated by: mp at ecetra dot com Reported By: mp at ecetra dot com -Status: Feedback +Status: Open Bug Type: *Compile Issues Operating System: Linux RH EL ES 3 PHP Version: 4CVS-2005-02-01 (stable) New Comment: Tried to do it manually - same result, no oci8.so is created by make install. There are not errors during compilation process, but one thing has changed since 4.3.10 (final): LD_LIBRARY_PATH (=/opt/oracle/product/9.2.0/lib) must be set now, otherwise i get this during make install: [EMAIL PROTECTED]:/home/mp/BUILD/php4# make install Installing PHP SAPI module: apache2filter /usr/lib/httpd/build/instdso.sh SH_LIBTOOL='/usr/lib/httpd/build/libtool' libphp4.la /usr/lib/httpd/modules /usr/lib/httpd/build/libtool --mode=install cp libphp4.la /usr/lib/httpd/modules/ cp .libs/libphp4.so /usr/lib/httpd/modules/libphp4.so cp .libs/libphp4.lai /usr/lib/httpd/modules/libphp4.la libtool: install: warning: remember to run `libtool --finish /home/mp/rpmbuild/BUILD/php-4.3.10snap/libs' chmod 755 /usr/lib/httpd/modules/libphp4.so [activating module `php4' in /etc/httpd/conf/httpd.conf] Installing PHP CLI binary:/opt/phptest/bin/ Installing PHP CLI man page: /opt/phptest/man/man1/ Installing shared extensions: /opt/phptest/lib/php/extensions/no-debug-non-zts-20020429/ Installing PEAR environment: /opt/phptest/pear/ /home/mp/BUILD/php4/sapi/cli/php: error while loading shared libraries: libclntsh.so.9.0: cannot open shared object file: No such file or directory make[1]: *** [install-pear-installer] Error 127 make: *** [install-pear] Error 2 Apache version is 2.0.50 System: Red Hat Enterprise Linux ES release 3 (Taroon Update 1) Kr, -michael Previous Comments: [2005-02-01 18:27:57] [EMAIL PROTECTED] Not enough information. Try to build from plain sources without using any external tools like rpmbuild etc. [2005-02-01 16:55:49] mp at ecetra dot com Description: I downloaded the snap (php4-STABLE-200502011530.tar.bz2) and tried to build a RPM as i did it before with 4.3.10. The SPEC file was not changed (only source tarball filename). The problem is that oci8.so file is not created by 'make install'. Here is my configure string: ./configure \ --prefix=%{_installprefix} \ --sysconfdir=/etc/httpd/conf \ --with-apxs2filter \ --with-config-file-path=%{_sysconfdir}/httpd/conf \ --with-config-file-scan-dir=%{_sysconfdir}/httpd/conf/php.d \ --disable-debug \ --with-curl=shared \ --with-mysql=shared \ --without-pgsql \ --without-oracle \ --with-oci8=shared,/opt/oracle/product/9.2.0 \ --with-openssl=/usr \ --with-mcrypt=shared,/usr \ --with-mhash=shared,/usr \ --with-snmp=shared,/usr \ --with-mm=shared \ --with-ldap=shared \ --with-bz2 \ --enable-inline-optimization \ --with-gettext \ --with-png \ --with-gd \ --with-freetype-dir \ --with-png-dir \ --enable-track-vars \ --enable-wddx \ --with-ttf \ --enable-gd-native-ttf \ --enable-magic-quotes \ --enable-safe-mode \ --enable-sockets \ --enable-sysvsem \ --enable-sysvshm \ --with-xml \ --with-sablot=/usr/lib \ --with-expat=/usr/lib \ --with-pear=%{_datadir}/pear \ --with-ncurses \ --with-regex=system \ --with-jpeg-dir=/usr \ --enable-memory-limit \ --disable-rpath \ --without-dba \ --without-imap \ --with-kerberos=/usr/kerberos \ --with-db4 \ --enable-pic \ --with-gmp \ --with-iconv \ --enable-bcmath \ --enable-exif \ --enable-discard-path \ --enable-trans-sid \ --enable-versioning \ --enable-dbx \ --enable-dio \ --enable-mcal \ --enable-calendar \ --enable-shmop \ --with-zlib \ --with-dom \ --with-pcre-regex -- Edit this bug report at http://bugs.php.net/?id=31794&edit=1
#31794 [NEW]: Unable to build Oracle oci8.so module
From: mp at ecetra dot com Operating system: Linux RH EL ES 3 PHP version: 4CVS-2005-02-01 (stable) PHP Bug Type: *Compile Issues Bug description: Unable to build Oracle oci8.so module Description: I downloaded the snap (php4-STABLE-200502011530.tar.bz2) and tried to build a RPM as i did it before with 4.3.10. The SPEC file was not changed (only source tarball filename). The problem is that oci8.so file is not created by 'make install'. Here is my configure string: ./configure \ --prefix=%{_installprefix} \ --sysconfdir=/etc/httpd/conf \ --with-apxs2filter \ --with-config-file-path=%{_sysconfdir}/httpd/conf \ --with-config-file-scan-dir=%{_sysconfdir}/httpd/conf/php.d \ --disable-debug \ --with-curl=shared \ --with-mysql=shared \ --without-pgsql \ --without-oracle \ --with-oci8=shared,/opt/oracle/product/9.2.0 \ --with-openssl=/usr \ --with-mcrypt=shared,/usr \ --with-mhash=shared,/usr \ --with-snmp=shared,/usr \ --with-mm=shared \ --with-ldap=shared \ --with-bz2 \ --enable-inline-optimization \ --with-gettext \ --with-png \ --with-gd \ --with-freetype-dir \ --with-png-dir \ --enable-track-vars \ --enable-wddx \ --with-ttf \ --enable-gd-native-ttf \ --enable-magic-quotes \ --enable-safe-mode \ --enable-sockets \ --enable-sysvsem \ --enable-sysvshm \ --with-xml \ --with-sablot=/usr/lib \ --with-expat=/usr/lib \ --with-pear=%{_datadir}/pear \ --with-ncurses \ --with-regex=system \ --with-jpeg-dir=/usr \ --enable-memory-limit \ --disable-rpath \ --without-dba \ --without-imap \ --with-kerberos=/usr/kerberos \ --with-db4 \ --enable-pic \ --with-gmp \ --with-iconv \ --enable-bcmath \ --enable-exif \ --enable-discard-path \ --enable-trans-sid \ --enable-versioning \ --enable-dbx \ --enable-dio \ --enable-mcal \ --enable-calendar \ --enable-shmop \ --with-zlib \ --with-dom \ --with-pcre-regex -- Edit bug report at http://bugs.php.net/?id=31794&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=31794&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=31794&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=31794&r=trysnapshot51 Fixed in CVS:http://bugs.php.net/fix.php?id=31794&r=fixedcvs Fixed in release:http://bugs.php.net/fix.php?id=31794&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=31794&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=31794&r=needscript Try newer version: http://bugs.php.net/fix.php?id=31794&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=31794&r=support Expected behavior: http://bugs.php.net/fix.php?id=31794&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=31794&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=31794&r=submittedtwice register_globals:http://bugs.php.net/fix.php?id=31794&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=31794&r=php3 Daylight Savings:http://bugs.php.net/fix.php?id=31794&r=dst IIS Stability: http://bugs.php.net/fix.php?id=31794&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=31794&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=31794&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=31794&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=31794&r=mysqlcfg