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
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: 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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Fri May 09 07:01:28 2025 UTC