Edit report at https://bugs.php.net/bug.php?id=65086&edit=1
ID: 65086 Updated by: a...@php.net Reported by: mark at kreine dot ru Summary: libssl not found while configuring php-5.5.0 -Status: Feedback +Status: No Feedback Type: Bug Package: Compile Failure Operating System: Ubuntu 12.04 PHP Version: 5.5.0 Block user comment: N Private report: N New Comment: No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Re-Opened". Thank you. Previous Comments: ------------------------------------------------------------------------ [2013-07-05 09:57:58] a...@php.net That usually has nothing to do with root. Please check openssl is built with shared enabled. The configure line looks fine even without LDFLAGS. ------------------------------------------------------------------------ [2013-07-04 16:06:13] mark at kreine dot ru Well, I've already run this script as root, I have root access to the system. ------------------------------------------------------------------------ [2013-07-04 16:00:22] ashleigh dot vincent at gmail dot com I had an identical error compiling php 5.3.26 on RHEL3. I managed to fix it by running the configure script as root. ------------------------------------------------------------------------ [2013-06-24 00:30:16] fel...@php.net Have you found any libssl*.so on your system? ------------------------------------------------------------------------ [2013-06-21 13:15:06] mark at kreine dot ru Description: ------------ I'm trying to compile php-5.5.0 on my server using the following configure script: ./configure --prefix=/soft/php --with-apxs2=/soft/httpd/bin/apxs --with-mysql=shared,/soft/mysql --with-mysqli=shared,/soft/mysql/bin/mysql_config --with-pdo-mysql=shared,/soft/mysql/bin/mysql --with-zlib-dir=/soft/zlib --with-zlib=shared,/soft/zlib --with-libxml-dir=/soft/libxml --with-jpeg-dir=/soft/libjpeg --with-png-dir=/soft/libpng --with-pcre-dir=/soft/pcre --enable-exif --enable-bcmath --enable-ftp --enable-calendar --enable-mbstring --with-bz2=shared,/soft/bzip --with-openssl-dir=/soft/openssl --with-openssl=shared,/soft/openssl LDFLAGS="-L/soft/openssl/lib" CPPFLAGS="-I/soft/openssl/include/openssl" The configure script complains me on lack of the libssl library. Test script: --------------- ./configure --prefix=/soft/php --with-apxs2=/soft/httpd/bin/apxs --with-mysql=shared,/soft/mysql --with-mysqli=shared,/soft/mysql/bin/mysql_config --with-pdo-mysql=shared,/soft/mysql/bin/mysql --with-zlib-dir=/soft/zlib --with-zlib=shared,/soft/zlib --with-libxml-dir=/soft/libxml --with-jpeg-dir=/soft/libjpeg --with-png-dir=/soft/libpng --with-pcre-dir=/soft/pcre --enable-exif --enable-bcmath --enable-ftp --enable-calendar --enable-mbstring --with-bz2=shared,/soft/bzip --with-openssl-dir=/soft/openssl --with-openssl=shared,/soft/openssl LDFLAGS="-L/soft/openssl/lib" CPPFLAGS="-I/soft/openssl/include/openssl" Expected result: ---------------- Successful configuration Actual result: -------------- checking for OpenSSL support... yes, shared checking for Kerberos support... no checking for DSA_get_default_method in -lssl... no checking for X509_free in -lcrypto... yes checking for pkg-config... no checking for OpenSSL version... >= 0.9.6 checking for CRYPTO_free in -lcrypto... yes checking for SSL_CTX_set_ssl_version in -lssl... no configure: error: libssl not found! ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=65086&edit=1