ID: 26112 Updated by: [EMAIL PROTECTED] Reported By: ast at domdv dot de -Status: Open +Status: Wont fix Bug Type: Compile Failure Operating System: Linux 2.4 PHP Version: 4.3.4 New Comment:
Don't configure openssl extension as shared. (will not be fixed for PHP 4) Previous Comments: ------------------------------------------------------------------------ [2003-11-04 08:58:47] ast at domdv dot de The problem continues with the apache php module: # /usr/local/apache/bin/httpsdctl start Syntax error on line 65 of /usr/local/apache/conf/httpsd.conf: Cannot load /usr/local/apache/libexec/libphp4.so into server: /usr/local/apache/ libexec/libphp4.so: undefined symbol: php_openssl_apply_verification_policy /usr/local/apache/bin/httpsdctl start: httpsd could not be started ------------------------------------------------------------------------ [2003-11-04 08:23:26] ast at domdv dot de 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 this bug report at http://bugs.php.net/?id=26112&edit=1