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

From: Date: Wed, 02 Aug 2000 20:59:13 +0000
Subject: PHP 4.0 Bug #5933: link step does not honor LD_RUN_PATH or -Rpath
Groups: php.dev 
Request: Send a blank email to php-dev+get-27493@lists.php.net to get a copy of this message
From: gaa@ulticom.com Operating system: Solaris 2.6 PHP version: 4.0.1pl2 PHP Bug Type: Installation problem Bug description: link step does not honor LD_RUN_PATH or -Rpath 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

« previous php.dev (#27493) next »