PHP 4.0 Bug #5933 Updated: link step does not honor LD_RUN_PATH or -Rpath

From: Date: Wed, 08 Nov 2000 23:15:12 +0000
Subject: PHP 4.0 Bug #5933 Updated: link step does not honor LD_RUN_PATH or -Rpath
Groups: php.dev 
Request: Send a blank email to php-dev+get-37466@lists.php.net to get a copy of this message
ID: 5933 Updated by: sniper Reported By: gaa@ulticom.com Status: Feedback Bug Type: *General Issues Assigned To: Comments: This works fine for me with latest CVS. Please try a snapshot from http://snaps.php.net --Jani Previous Comments: --------------------------------------------------------------------------- [2000-08-02 22:59:13] gaa@ulticom.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 --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=5933

« previous php.dev (#37466) next »