Bug #11528 Updated: The apache php module does not have paths fro library
| From: | sniper@php.net | Date: | Mon, 18 Jun 2001 12:57:49 +0000 |
| Subject: | Bug #11528 Updated: The apache php module does not have paths fro library | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-56833@lists.php.net to get a copy of this message | ||
ID: 11528
Updated by: sniper
Reported By: kholburn@nla.gov.au
Old-Status: Open
Status: Closed
Bug Type: Compile Problem
Operating system:
PHP Version: 4.0.5
Assigned To:
Comments:
This is libtool 'feature' which should be fixed in libtool 1.4. The latest CVS from http://snaps.php.net/ uses that.
Previous Comments:
---------------------------------------------------------------------------
[2001-06-17 22:23:59] kholburn@nla.gov.au
I have compiled on solaris7 with apache1.3.20 with dynamic modules using php 4.0.5 with oracle8,
gdbm. It works but:
I can't get library paths in the binaries. I have to set LD_LIBRARY_PATH in apacectl to get it
all to work. I used this script to make php:
#!/bin/sh
ORACLE_HOME=/usr/local/oracle/product/8.1.5
LD_LIBRARY_PATH=/usr/local/apple/Library/Executables
#LDFLAGS=-L$ORACLE_HOME/lib
LDFLAGS="-L$ORACLE_HOME/lib -R$ORACLE_HOME/lib:/usr/local/bin"
export LDFLAGS ORACLE_HOME LD_LIBRARY_PATH
./configure --with-gdbm --with-apxs=/usr/local/apache/bin/apxs
--with-oci8=$ORACLE_HOME --without-mysql &&
make &&
make install
but it ignores the -R option, it seems to get stripped out in libtool or somewhere. Other modules I
have compiled work fine forex :
## strings /usr/local/apache/libexec/libperl.so |grep /local/|more
/bin:/usr/bin:/usr/ucb:/usr/bsd:/usr/local/bin
/usr/local/bin
/usr/local/lib/perl5/5.6.1
/usr/local/lib/perl5/5.6.1/sun4-solaris
/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris
/usr/local/lib/perl5/site_perl/5.6.1
/usr/local/lib/perl5/site_perl
but :
## strings /usr/local/apache/libexec/libphp4.so |grep /local/|more
.:/usr/local/lib/php
/usr/local/lib/php/extensions/no-debug-non-zts-20001222
/usr/local/lib
/usr/local/lib/php/extensions/no-debug-non-zts-20001222
'./configure' '--with-gdbm' '--with-apxs=/usr/local/apache/bin/apxs'
'--with-oci8' '--without-mysql'
/usr/local/lib
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=11528&edit=2