php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #11528 The apache php module does not have paths fro library
Submitted: 2001-06-17 22:23 UTC Modified: 2001-06-18 08:57 UTC
From: kholburn at nla dot gov dot au Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.5 OS: Solaris 7
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: kholburn at nla dot gov dot au
New email:
PHP Version: OS:

 

 [2001-06-17 22:23 UTC] kholburn at nla dot gov dot 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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-06-18 08:57 UTC] sniper@php.net
This is libtool 'feature' which should be fixed in libtool 1.4. The latest CVS from http://snaps.php.net/ uses that.



 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue May 06 04:01:30 2025 UTC