|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #70629 EXTRA_LIBS typo in Makefile
Submitted: 2015-10-03 15:30 UTC Modified: -
Avg. Score:4.0 ± 1.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: peter at truenorth dot us Assigned:
Status: Open Package: Compile Failure
PHP Version: 5.6.14 OS: Linux
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2015-10-03 15:30 UTC] peter at truenorth dot us
When building PHP 5.6.14 from source for Apache 2.4.16 on Ubuntu 14.04 (LTS), I encountered build errors once I added --with-curl.  The compiler error included:

  " error adding symbols: DSO missing from command line"

When inspecting the Makefile, I saw that the declaration for EXTRA_LIBS included -lcrypt twice.  Changing one of them to -lcrypto fixed the problem.

My configure options included:

phpExtra="--with-mysql=${MYSQL_HOME} --with-pgsql=${PG_HOME}"
phpExtra="$phpExtra --with-gd -with-png-dir=/usr/lib --with-jpeg-dir=/usr/lib"
phpExtra="$phpExtra --enable-mbstring --with-curl"


Add a Patch

Pull Requests

Add a Pull Request

PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Thu May 28 13:01:29 2020 UTC