#31794 [Fbk->Opn]: Unable to build Oracle oci8.so module

From: Date: Wed, 02 Feb 2005 08:54:00 +0000
Subject: #31794 [Fbk->Opn]: Unable to build Oracle oci8.so module
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-73249@lists.php.net to get a copy of this message
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: root@losinj:/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] tony2001@php.net 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

« previous php.bugs (#73249) next »