1. When compiling PHP "configure:error:Cannot find OpenSSL ' s libraries"
Resolved as follows:
sudo apt-get-y install OpenSSL (Ubuntu); sudo yum-y install OpenSSL (CentOS).
Compile PHP again.
Also reported the same mistake, manually compile and install OpenSSL, as follows:
wget ftp://ftp.openssl.org/source/openssl-1.0.0c.tar.gz
TAR-ZXF openssl-1.0.0c.tar.gz
CD openssl-1.0.0c/
./config--prefix=/usr/local--openssldir=/usr/local/ssl
Make && make install
./config Shared--prefix=/usr/local--openssldir=/usr/local/ssl
Make clean
Make && make install
(This is a two-time compilation installation, preferably)
2. Compile php "libcurl.so:undefined reference to" [email protected]_1.0.0]
This is the version of OPENSSL we installed and the error message "openssl_1.0.0" is not on, resolved as follows:
$ OpenSSL version Use this command to see the OpenSSL release information, determine if it is OpenSSL version and "openssl_1.0.0" not always.
Do not always delete the installed OpenSSL, manually compile and install the "openssl_1.0.0" OpenSSL using the method in the first section above
Compile PHP again.
3. When compiling OpenSSL "POD document had syntax errors At/usr/bin/pod2man line 71. Makefile:594:recipe for Target ' Install_docs ' failed"
Resolved as follows:
Compiling the installation is using: $ make && make INSTALL_SW
Questions about compiling PHP