#26515 [Bgs]: configure: error: Cannot find OpenSSL's libraries
ID: 26515
Updated by: joerg@php.net
Reported By: Greg dot Kresko at nrc-cnrc dot gc dot ca
Status: Bogus
Bug Type: OpenSSL related
Operating System: IRIX 6.5.21f
PHP Version: 4.3.4
New Comment:
[origin]:~ $ php -v ; php -m | grep openssl
PHP 4.3.4 (cli) (built: Nov 22 2003 17:22:20)
Copyright (c) 1997-2003 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2003 Zend Technologies
openssl
[origin]:~ $
So there is no problem here at the moment. And you can also build your
openssl as shared.
[origin]:~ $ ll /usr/local/ssl/lib/
total 13904
-rw-r--r-- 1 root sys 4021732 Okt 16 11:27 libcrypto.a
lrwxr-xr-x 1 root sys 14 Okt 16 11:27 libcrypto.so
-> libcrypto.so.0
lrwxr-xr-x 1 root sys 18 Okt 16 11:27 libcrypto.so.0
-> libcrypto.so.0.9.7
-r-xr-xr-x 1 root sys 2147436 Okt 16 11:27
libcrypto.so.0.9.7
-rw-r--r-- 1 root sys 581092 Okt 16 11:27 libssl.a
lrwxr-xr-x 1 root sys 11 Okt 16 11:27 libssl.so ->
libssl.so.0
lrwxr-xr-x 1 root sys 15 Okt 16 11:27 libssl.so.0 ->
libssl.so.0.9.7
-r-xr-xr-x 1 root sys 363016 Okt 16 11:27
libssl.so.0.9.7
drw-r--r-- 2 root sys 23 Okt 16 11:27 pkgconfig
[origin]:~ $ uname -R
6.5 6.5.22m
Previous Comments:
------------------------------------------------------------------------
[2003-12-03 16:36:05] derick@php.net
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions.
Thank you for your interest in PHP.
Your --with-openssl line is broken, you need to point to the
installation root (/usr/local or /usr/local/ssl).
------------------------------------------------------------------------
[2003-12-03 16:17:24] Greg dot Kresko at nrc-cnrc dot gc dot ca
Description:
------------
./configure --prefix=/usr/local/apache --with-mysql
--with-apxs=/usr/local/apache/bin/apxs --with-openssl=../openssl-0.9.7c
--with-mm=../mm-1.3.0
fails with
---
Configuring extensions
checking for OpenSSL support... yes
checking for pkg-config... no
configure: error: Cannot find OpenSSL's libraries
---
I have static libraries:
111 (renard)kresko> ls -l /usr/local/ssl/lib
total 5752
-rw-r--r-- 1 root sys 2564356 Nov 20 16:09 libcrypto.a
-rw-r--r-- 1 root sys 375828 Nov 20 16:09 libssl.a
drwxr-xr-x 2 root sys 28 Jun 9 16:13 pkgconfig
---
It also fails with php4-STABLE-200312031830.
php-4.3.3 works with the same statement.
This is a follow-up to bug 25703 (I added a note on Nov. 20) and is
also related to
bug 25719.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=26515&edit=1
Thread (6 messages)