Bug #65086 [NEW]: libssl not found while configuring php-5.5.0
| From: | mark at kreine dot ru | Date: | Fri, 21 Jun 2013 13:15:07 +0000 |
| Subject: | Bug #65086 [NEW]: libssl not found while configuring php-5.5.0 | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-179674@lists.php.net to get a copy of this message | ||
From: mark at kreine dot ru
Operating system: Ubuntu 12.04
PHP version: 5.5.0
Package: Safe Mode/open_basedir
Bug Type: Bug
Bug description:libssl not found while configuring php-5.5.0
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 bug report at https://bugs.php.net/bug.php?id=65086&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=65086&r=trysnapshot54
Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=65086&r=trysnapshot53
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=65086&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=65086&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=65086&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=65086&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=65086&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=65086&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=65086&r=support
Expected behavior: https://bugs.php.net/fix.php?id=65086&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=65086&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=65086&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=65086&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=65086&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=65086&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=65086&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=65086&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=65086&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=65086&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=65086&r=mysqlcfg