php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5933 link step does not honor LD_RUN_PATH or -Rpath
Submitted: 2000-08-02 22:59 UTC Modified: 2000-12-07 11:25 UTC
From: gaa at ulticom dot com Assigned:
Status: Closed Package: *General Issues
PHP Version: 4.0.1pl2 OS: Solaris 2.6
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: gaa at ulticom dot com
New email:
PHP Version: OS:

 

 [2000-08-02 22:59 UTC] gaa at ulticom dot com
I have tried:
	LD_RUN_PATH=path CC=cc ./configure ...
and:
	LDFLAGS=-Rpath CC=cc ./configure ...
and:
	LD_RUN_PATH=path make
and all the variations.  The link step seems to ignore
this so I must either:
	1) make sure that apache gets started with
	   LD_RUN_PATH=path (which precludes having
	   different paths for different executables)
	2) move all my libraries to /usr/lib or /lib
	   (which is just as bad, or worse)
	3) do a "make ; rm php" and then link by hand.

Any better alternatives?

FYI: the configure command is:
CC=cc \
        CFLAGS=-I/usr/local/it/include \
        LDFLAGS="-L/usr/local/it/lib -R/usr/local/it/lib" \
        LD_LIBRARY_PATH=/usr/local/it/lib \
        LD_RUN_PATH=/usr/local/it/lib \
./configure \
        --prefix=/usr/local/it \
        --localstatedir=/var \
        --sysconfdir=/etc \
        --disable-force-cgi-redirect \
        --enable-discard-path \
        --with-config-file-path=/usr/local/it/lib \
        --enable-debug \
        --enable-safe-mode \
        --enable-calendar \
        --with-mysql \
        --with-pgsql \
        --enable-sysvsem \
        --enable-sysvshm \
        --enable-yp


	

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-11-08 18:15 UTC] sniper@php.net
This works fine for me with latest CVS.
Please try a snapshot from http://snaps.php.net

--Jani
 [2000-12-07 11:25 UTC] sniper@php.net
You must add the paths to LD_LIBRARY_PATH before
starting Apache.

--Jani
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 10:01:28 2024 UTC