|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #26112 EXTRA_LDFLAGS_PROGRAM not set up properly
Submitted: 2003-11-04 08:23 UTC Modified: 2003-11-06 14:47 UTC
From: ast at domdv dot de Assigned:
Status: Wont fix Package: Compile Failure
PHP Version: 4.3.4 OS: Linux 2.4
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: ast at domdv dot de
New email:
PHP Version: OS:


 [2003-11-04 08:23 UTC] ast at domdv dot de
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


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


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2003-11-04 08:58 UTC] 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/ into server: /usr/local/apache/
libexec/ undefined symbol: php_openssl_apply_verification_policy
/usr/local/apache/bin/httpsdctl start: httpsd could not be started
 [2003-11-06 14:47 UTC]
Don't configure openssl extension as shared.
(will not be fixed for PHP 4)

PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Sun Sep 25 14:03:44 2022 UTC