php.net |  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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: ast at domdv dot de
New email:
PHP Version: OS:

 

 [2003-11-04 08:23 UTC] 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


Patches

Pull Requests

History

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/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-06 14:47 UTC] sniper@php.net
Don't configure openssl extension as shared.
(will not be fixed for PHP 4)

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Jun 03 01:01:26 2025 UTC