Edit report at https://bugs.php.net/bug.php?id=65086&edit=1

 ID:                 65086
 Updated by:         fel...@php.net
 Reported by:        mark at kreine dot ru
 Summary:            libssl not found while configuring php-5.5.0
-Status:             Open
+Status:             Feedback
 Type:               Bug
-Package:            Safe Mode/open_basedir
+Package:            Compile Failure
 Operating System:   Ubuntu 12.04
 PHP Version:        5.5.0
 Block user comment: N
 Private report:     N

 New Comment:

Have you found any libssl*.so on your system?


Previous Comments:
------------------------------------------------------------------------
[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

Reply via email to