From: ast at domdv dot de Operating system: Linux 2.4 PHP version: 4.3.4 PHP Bug Type: Compile Failure Bug description: EXTRA_LDFLAGS_PROGRAM not set up properly
Description: ------------ The build of sapi/cli/php fails for the configuration given below due to missing setup of EXTRA_LDFLAGS_PROGRAM in the main Makefile. Instead of EXTRA_LDFLAGS_PROGRAM = the following change was needed to link sapi/cli/php: EXTRA_LDFLAGS_PROGRAM = -lcrypto -lssl ext/openssl/openssl.lo Reproduce code: --------------- ./configure --with-apxs=/usr/local/apache/bin/apxs --prefix=/usr/local/php --with-config-file-path=/usr/local/php/conf --disable-short-tags --enable-bcmath=shared --enable-calendar=shared --with-gdbm=/usr --with-db4=/usr/BerkeleyDB/4.1.25 --enable-dba=shared --enable-dbase=shared --with-dom=shared --enable-ftp=shared --with-gd=shared,/usr --with-ttf --with-gettext=shared --with-imap=shared,/usr/imap --with-imap-ssl=/usr --with-mcrypt=shared,/usr --with-mhash=shared --with-msql=shared --with-mysql=shared,/usr/local/mysql --with-png-dir=/usr --with-freetype-dir=/usr --enable-shmop=shared --enable-sockets=shared --enable-sysvsem=shared --enable-sysvshm=shared --with-zlib=shared --with-curl=shared,/usr --enable-xml=shared --enable-memory-limit --with-tsrm-pthreads --enable-shared --with-gnu-ld --with-jpeg-dir=/usr --with-openssl=shared,/usr --enable-yp=shared --with-pspell=shared,/usr --with-gmp=shared,/usr --with-bz2=/usr --enable-gd-imgstrttf --enable-gd-native-ttf --with-expat-dir=shared,/usr --enable-inline-optimization --with-dom-xslt=shared --with-dom-exslt=shared --with-cyrus=shared --with-expat-dir=/usr --with-mysql-sock=/var/mysql/socket --enable-mbstring --enable-mbregex -- Edit bug report at http://bugs.php.net/?id=26112&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=26112&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=26112&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=26112&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=26112&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=26112&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=26112&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=26112&r=support Expected behavior: http://bugs.php.net/fix.php?id=26112&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=26112&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=26112&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=26112&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26112&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=26112&r=dst IIS Stability: http://bugs.php.net/fix.php?id=26112&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=26112&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=26112&r=float