ID: 13019 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Open Status: Bogus Bug Type: Compile Failure Operating System: Solaris 2.7 PHP Version: 4.0.6 New Comment:
Not a PHP bug. libtool drops these for libraries. Report it to the libtool folks. --Jani Previous Comments: ------------------------------------------------------------------------ [2001-08-29 04:41:16] [EMAIL PROTECTED] Hi, I compiled 4.0.6 with SUNWspro 4.0 cc compiler and the following options: export CC=/opt/SUNWspro/bin/cc export CFLAGS="-R/opt/mysql/lib/mysql" export LDFLAGS="-R/opt/mysql/lib/mysql" ./configure --prefix=/opt/php --with-mysql=/opt/mysql --with-apxs=/opt/apache/bin/apxs --with-config-file-path=/opt/php; make So I want to include the path to mysql library "libmysqlclient.so" in the dynamic section of libphp4.so to avoid setting a LD_LIBRARY_PATH to apache. But libphp4.so stiil uses the shared library: find . -name *.so ./.libs/libphp4.so ./.libs/libphp4.so: **** DYNAMIC SECTION INFORMATION **** .dynamic: [INDEX] Tag Value [1] NEEDED libpam.so.1 [2] NEEDED libdl.so.1 [3] NEEDED libmysqlclient.so.10 [4] NEEDED libcrypt_i.so.1 [5] NEEDED libresolv.so.2 [6] NEEDED libm.so.1 [7] NEEDED libnsl.so.1 [8] NEEDED libsocket.so.1 [9] NEEDED libc.so.1 [10] NEEDED libucb.so.1 [11] NEEDED libelf.so.1 [12] SONAME libphp4.so [13] RPATH /usr/ucblib But RPATH only includes "/usr/ucblib" even if "config.log" gets it: ./config.log :ysql/lib/mysql -R/usr/ucblib -L/usr/ucblib -R/opt/mysql/lib/mysql -L/opt/mysql/lib/mysql conftest.c -ldl -lmysqlclient -lcrypt But I guess it should be: -R/usr/ucblib:/opt/mysql/lib/mysql ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=13019&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]