#24774 [NoF->Csd]: undefined symbol: OPENSSL_add_all_algorithms_noconf
ID: 24774
User updated by: cyrille at iwebgroup dot com
Reported By: cyrille at iwebgroup dot com
-Status: No Feedback
+Status: Closed
Bug Type: Apache related
Operating System: Red Hat Linux release 7.3 (Valha
PHP Version: 4.3.2
New Comment:
Thanks ! It works well with only 1 set of openssl libraries and
headers.
Cyrille.
Previous Comments:
------------------------------------------------------------------------
[2003-07-28 05:32:49] sniper@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
------------------------------------------------------------------------
[2003-07-23 17:23:54] iliaa@php.net
Please verify that you only have 1 set of openssl libraries and
headers. The problem you suggest implies that you either have 2 sets of
libraries and/or headers or the openssl lib is not in the path.
You can check the latter by doing "ldd libphp4.so"
------------------------------------------------------------------------
[2003-07-23 14:13:53] cyrille at iwebgroup dot com
Description:
------------
Hello,
I'm using :
apache_1.3.28.tar.gz
mod_ssl-2.8.15-1.3.28.tar.gz
openssl-0.9.7b.tar.gz
php-4.3.2.tar.gz
openssl installation :
./config --prefix=/virtual/openssl
make
make install
mod_ssl installation :
./configure \
--with-apache=/usr/src/redhat/SOURCES/apache \
--with-ssl=/virtual/openssl \
--prefix=/virtual/apache-ssl
apache installation :
CFLAGS="-DEAPI"
export CFLAGS
SSL_BASE=/virtual/openssl
./configure \
--prefix=/virtual/apache-ssl \
--sysconfdir=/virtual/apache-ssl/conf \
--htdocsdir=/home/www \
--cgidir=/home/www/cgi-bin \
--runtimedir=/var/log/apache-ssl \
--logfiledir=/var/log/apache-ssl \
--enable-module=most \
--enable-shared=max \
--disable-rule=WANTHSREGEX \
--server-uid=apache \
--server-gid=apache \
--enable-module=so
make
make install
php installation :
./configure \
--with-apxs=/virtual/apache-ssl/bin/apxs \
--prefix=/virtual/php-ssl \
--with-mysql \
--with-mcrypt \
--with-curl \
--enable-bcmath \
--with-gd \
--with-dbase \
--with-xml \
--with-sablot \
--enable-ftp \
--enable-gd-native-ttf \
--with-jpeg-dir=/usr/lib \
--with-png-dir=/usr/lib \
--with-zlib \
--with-ttf \
--with-pdflib \
--with-xslt-sablot=/usr/lib \
--with-sablot-js=/usr/lib \
--with-ming \
--with-gettext \
--with-openssl=/virtual/openssl
make
make install
When starting apache with ssl enable :
Syntax error on line 239 of /virtual/apache-ssl/conf/httpd.conf:
Cannot load /virtual/apache-ssl/libexec/libphp4.so into server:
/virtual/apache-ssl/libexec/libphp4.so: undefined symbol:
OPENSSL_add_all_algorithms_noconf
Thanks !
Cyrille.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=24774&edit=1
Thread (6 messages)