I am trying to compile php 5.4.36 with latest curl and openssl (1.0.1l), i have compiled openssl into a separated folder
My system is CentOS.
When i try to compile php with
./configure ...etc... --with-curl=/usr/local/curlfolder --with-openssl=/usr/local/opensslfolder
I get this error:
checking whether to enable FTP support... yes
checking OpenSSL dir for FTP... /usr/local/opensslfolder
checking for pkg-config... /usr/bin/pkg-config
configure: error: Cannot find OpenSSL's libraries
Both curl and openssl compiled without any issues