php.net |  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: -
Votes:1
Avg. Score:5.0 ± 0.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
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.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: peter at truenorth dot us
New email:
PHP Version: OS:

 

 [2015-10-03 15:30 UTC] peter at truenorth dot us
Description:
------------
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:

  "libcrypto.so.1.0.0: 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"



Patches

Add a Patch

Pull Requests

Add a Pull Request

 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Thu Sep 19 00:01:29 2019 UTC