Bug #65086 [Fbk->Opn]: libssl not found while configuring php-5.5.0
Edit report at https://bugs.php.net/bug.php?id=65086&edit=1
ID: 65086
User updated by: mark at kreine dot ru
Reported by: mark at kreine dot ru
Summary: libssl not found while configuring php-5.5.0
-Status: Feedback
+Status: Open
Type: Bug
Package: Compile Failure
Operating System: Ubuntu 12.04
PHP Version: 5.5.0
Block user comment: N
Private report: N
New Comment:
Well, I've already run this script as root, I have root access to the system.
Previous Comments:
------------------------------------------------------------------------
[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] felipe@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
Thread (6 messages)