Problem with Oracle and OCI, new libtool changes?

From: Date: Tue, 05 Oct 1999 15:21:23 +0000
Subject: Problem with Oracle and OCI, new libtool changes?
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-5198@lists.php.net to get a copy of this message
Hi guys, I successfully compiled and installed from CVS as of October 3rd, but when I tried again today (post-libtool changes, I think), I get several warnings about three Oracle libraries being non-shared versions, but the compile finishes. Then, apache fails to load. Oracle Libraries are version 8.0.5 Compiling on RH Linux 6.0 Apache version 1.3.9 I've tried both with and without the configure option --disable-shared. The problem still occurs in both instances. Here are the interesting snippets. Let me know if you need more. - Configure options #./configure --with-apxs=/usr/local/apache/bin/apxs \ --with-config-file-path=/usr/local/apache \ --enable-track-vars --with-oracle=/usr/local/oracle \ --with-oci8=/usr/local/oracle - make warnings: make[2]: Entering directory `/usr/src/php-cvs/php4' /bin/sh ./libtool --silent --mode=link gcc -g -O2 -g -O2 -o libphp4.la -rpath /usr/src/php-cvs/php4/libs -avoid-version main.lo internal_functi ons.lo snprintf.lo php3_sprintf.lo configuration-parser.lo configuration-scanner .lo request_info.lo safe_mode.lo fopen-wrappers.lo php3_realpath.lo alloca.lo ou tput.lo php_ini.lo SAPI.lo rfc1867.lo dlist.lo php_content_types.lo strlcpy.lo s trlcat.lo libzend/libzend.la sapi/apache/libphpsapi_apache.la r egex/libregex.la ext/apache/libphpext_apache.la ext/db/libphpext_ db.la ext/gd/libphpext_gd.la ext/oci8/libphpext_oci8.la ext/oracle/libphpext_ora cle.la ext/pcre/libphpext_pcre.la ext/session/libphpext_session.la ext/standard/ libphpext_standard.la -ldl -lgd -lm -lresolv -lnsl - lcrypt -lgdbm -lttf -lclntsh -lpsa -lcore4 -lnlsrtl3 -lclntsh -lm -L/usr/local/o racle/lib -Wl,-rpath,/usr/local/oracle/lib -lclntsh -lpsa -lcore4 -lnlsrtl3 -lcl ntsh -lm -L/usr/local/oracle/lib -Wl,-rpath,/usr/local/oracle/lib -lpam *** Warning: This library needs some functionality provided by -lpsa. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have. *** Warning: This library needs some functionality provided by -lcore4. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have. *** Warning: This library needs some functionality provided by -lnlsrtl3. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have. *** Warning: This library needs some functionality provided by -lpsa. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have. *** Warning: This library needs some functionality provided by -lcore4. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have. *** Warning: This library needs some functionality provided by -lnlsrtl3. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have. *** The inter-library dependencies that have been dropped here will be *** automatically added whenever a program is linked with this library *** or is declared to -dlopen it. make[2]: Leaving directory `/usr/src/php-cvs/php4' make[1]: Leaving directory `/usr/src/php-cvs/php4' [root@borg php4]# make install - Apache start error: [root@borg php4]# /usr/local/apache/bin/httpsdctl start Syntax error on line 238 of /usr/local/apache/conf/httpsd.conf: Cannot load /usr/local/apache/libexec/libphp4.so into server: /usr/local/ora lib/libclntsh.so.1.0: undefined symbol: slpmprodstab /usr/local/apache/bin/httpsdctl start: httpd could not be started

« previous php.version4 (#5198) next »