ID:               33956
 User updated by:  Jaguar at digitalmarble dot com
 Reported By:      Jaguar at digitalmarble dot com
-Status:           Bogus
+Status:           Open
 Bug Type:         *Configuration Issues
 Operating System: Debian Linux 3.1 Sarge r0a i386
 PHP Version:      4.4.0
 New Comment:

Regardless, if I recompile openssl without zlib this error disappears
and php builds. Only problem is, I'd like to use zlib. If it is a
system error, give me a helpful hint here and I'll start my hunt for it
and leave you good people alone :).


Previous Comments:
------------------------------------------------------------------------

[2005-08-02 07:52:52] [EMAIL PROTECTED]

We can't do miracles here..just fix your system, it's pretty screwed up
right now.



------------------------------------------------------------------------

[2005-08-02 03:01:14] Jaguar at digitalmarble dot com

Description:
------------
libssl not found! Or so it says.

Upon configuring extensions configure dies "checking for
SSL_CTX_set_ssl_version in -lss...". I know it has something to do with
zlib 1.2.3 as I had the same problem when I configured apache 2.0.54. I
resolved it with the configure flag --enable-deflate in apache but php
(unless I missed it) doesn't seem to have such an option. I configured
zlib in with openssl 0.9.8 and the configured openssl into apache
(which required a patch due to some problems between apache 2.0.54,
openssl 0.9.8 and zlib 1.2.2+). I suspect the problem is with zlib but
that's all I can decipher. I have libssl.so.0.9.7 every possible place
I could think configure would look.  I scoured google and tried
countless forum suggestions. I'm working off php 4.4.0 cvs snapshot
august 1st 2005. Perhaps someone can help?

Reproduce code:
---------------
./configure --with-openssl=/usr/local/ssl
--with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=/usr/local/mysql
--with-bz2 --with-zlib=/usr/local --with-mcrypt=/usr --enable-ftp
--with-regex=apache --with-swf

Actual result:
--------------
./configure output
-- SNIPPET --
checking for SSL_CTX_set_ssl_version in -lssl... no
configure: error: libssl not found!
-- END SNIPPET --

config.log
-- SNIPPET --
configure:18083: checking for SSL_CTX_set_ssl_version in -lssl
configure:18102: gcc -o conftest -g -O2  -Wl,-rpath,/usr/local/ssl/lib
-L/usr/local/ssl/lib  conftest.c -lssl  -lcrypto -lresolv -lm -ldl
-lnsl  -lcrypto 1>&5
/usr/local/ssl/lib/libcrypto.a(c_zlib.o)(.text+0x78): In function
`zlib_stateful_init':
: undefined reference to `inflateInit_'
/usr/local/ssl/lib/libcrypto.a(c_zlib.o)(.text+0xd7): In function
`zlib_stateful_init':
: undefined reference to `deflateInit_'
/usr/local/ssl/lib/libcrypto.a(c_zlib.o)(.text+0x290): In function
`zlib_stateful_compress_block':
: undefined reference to `deflate'
/usr/local/ssl/lib/libcrypto.a(c_zlib.o)(.text+0x315): In function
`zlib_stateful_expand_block':
: undefined reference to `inflate'
/usr/local/ssl/lib/libcrypto.a(c_zlib.o)(.text+0x33f): In function
`zlib_stateful_free_ex_data':
: undefined reference to `inflateEnd'
/usr/local/ssl/lib/libcrypto.a(c_zlib.o)(.text+0x34a): In function
`zlib_stateful_free_ex_data':
: undefined reference to `deflateEnd'
collect2: ld returned 1 exit status
configure: failed program was:
#line 18091 "configure"
#include "confdefs.h"
-- END SNIPPET --


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=33956&edit=1

Reply via email to