Re: [PHP4BETA] new libtool causes trouble when trying to link APXS with oracle (b3 libtool works!)

From: Date: Tue, 21 Dec 1999 13:34:59 +0000
Subject: Re: [PHP4BETA] new libtool causes trouble when trying to link APXS with oracle (b3 libtool works!)
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-8298@lists.php.net to get a copy of this message
/bin/sh ./libtool --mode=link gcc -g -Wall -o libphp4.la -rpath /dot/dc4/zend/php-dev/php4_apxs/libs -avoid-version main.lo internal_functions.lo snprintf.lo php_sprintf.lo configuration-parser.lo configuration-scanner.lo request_info.lo safe_mode.lo fopen-wrappers.lo php3_realpath.lo alloca.lo php_ini.lo SAPI.lo rfc1867.lo dlist.lo php_content_types.lo strlcpy.lo strlcat.lo mergesort.lo reentrancy.lo Zend/libZend.la sapi/apache/libphpsapi_apache.la ext/apache/libphpext_apache.la ext/db/libphpext_db.la ext/gd/libphpext_gd.la ext/oci8/libphpext_oci8.la ext/pcre/libphpext_pcre.la ext/posix/libphpext_posix.la ext/session/libphpext_session.la ext/standard/libphpext_standard.la -lgdbm -L/dot/oracle/app/oracle/product/8.0.5/lib -Wl,-rpath,/dot/oracle/app/oracle/product/8.0.5/lib -lclntsh -lpsa -lcore4 -lnlsrtl3 -lclntsh -lm -L/dot/oracle/app/oracle/product/8.0.5/lib -Wl,-rpath,/dot/oracle/app/oracle/product/8.0.5/lib -lclntsh -lpsa -lcore4 -lnlsrtl3 -lclntsh -lm -lpam -ldl -ldl -lttf -lgd -lresolv -lm -lcrypt -lnsl -lresolv rm -fr .libs/libphp4.la .libs/libphp4.* .libs/libphp4.* gcc -shared main.lo internal_functions.lo snprintf.lo php_sprintf.lo configuration-parser.lo configuration-scanner.lo request_info.lo safe_mode.lo fopen-wrappers.lo php3_realpath.lo alloca.lo php_ini.lo SAPI.lo rfc1867.lo dlist.lo php_content_types.lo strlcpy.lo strlcat.lo mergesort.lo reentrancy.lo -Wl,--whole-archive Zend/.libs/libZend.al sapi/apache/.libs/libphpsapi_apache.al ext/apache/.libs/libphpext_apache.al ext/db/.libs/libphpext_db.al ext/gd/.libs/libphpext_gd.al ext/oci8/.libs/libphpext_oci8.al ext/pcre/.libs/libphpext_pcre.al ext/posix/.libs/libphpext_posix.al ext/session/.libs/libphpext_session.al ext/standard/.libs/libphpext_standard.al -Wl,--no-whole-archive -lgdbm -L/dot/oracle/app/oracle/product/8.0.5/lib -lclntsh -lclntsh -lm -lclntsh -lclntsh -lm -lpam -ldl -ldl -lttf -lgd -lresolv -lm -lcrypt -lnsl -lresolv -lgdbm -lclntsh -lclntsh -lm -lclntsh -lclntsh -lm -lpam -ldl -ldl -lttf -lgd -lresolv -lm -lcrypt -lnsl -lresolv -lc -Wl,-soname -Wl,libphp4.so -o .libs/libphp4.so creating libphp4.la (cd .libs && rm -f libphp4.la && ln -s ../libphp4.la libphp4.la) the newer libtool "eats" -lpsa, -lcore4, -lnlsrtl3 those are just "normal" .a libs: > ll libpsa.a libcore4.a libnlsrtl3.a -rwxr-xr-x 1 oracle dba 1161008 Feb 11 1999 libcore4.a* -rwxr-xr-x 1 oracle dba 562154 Feb 11 1999 libnlsrtl3.a* -rwxr-xr-x 1 oracle dba 185020 Feb 11 1999 libpsa.a both the old & new libtool spi out warnings like : *** 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. hope it helps. tc > > Tell me what's different, which libraries are missing from > the link line (see libphp4.la's dependency_libs). Does Oracle > have any weird object files which are used as libraries? > > -- > > Regards, > > Sascha Schumann > Consultant > > -- > PHP 4.0 Beta Mailing List <http://www.php.net/version4/> > To unsubscribe, e-mail: php4beta-unsubscribe@lists.php.net > For additional commands, e-mail: php4beta-help@lists.php.net > To contact the list administrators, e-mail: php4beta-admin@lists.php.net > > Thies C. Arntzen "One Big-Mac, Small Fries and a Coke!" Digital Collections Phone +49 40 235350 Fax +49 40 23535180 Hammerbrookstr. 93 20097 Hamburg / Germany

« previous php.version4 (#8298) next »