From:             [EMAIL PROTECTED]
Operating system: Solaris 7
PHP version:      4.0.5
PHP Bug Type:     Compile Problem
Bug description:  The apache php module does not have paths fro library

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



-- 
Edit Bug report at: http://bugs.php.net/?id=11528&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]

Reply via email to