Date: 08/29/01
- Next message: Vadim Tkachenko: "[PHP-DEV] Re: Bug #9805 Updated: ob_start("my_gzhandler1"); - not worked"
- Previous message: -TFA- Cybernetwork - Gate Unit - Unividuum: "[PHP-DEV] Re: Bug #12999 Updated: configure with sablotron support"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: jewa <email protected>
Operating system: Solaris 2.7
PHP version: 4.0.6
PHP Bug Type: *Compile Issues
Bug description: compile time option"-R/opt/mysql/lib/mysql" ignored
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 bug report at: http://bugs.php.net/?id=13019&edit=1-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Vadim Tkachenko: "[PHP-DEV] Re: Bug #9805 Updated: ob_start("my_gzhandler1"); - not worked"
- Previous message: -TFA- Cybernetwork - Gate Unit - Unividuum: "[PHP-DEV] Re: Bug #12999 Updated: configure with sablotron support"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

