php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #24774 undefined symbol: OPENSSL_add_all_algorithms_noconf
Submitted: 2003-07-23 14:13 UTC Modified: 2003-07-28 09:16 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:0 (0.0%)
From: cyrille at iwebgroup dot com Assigned:
Status: Not a bug Package: Apache related
PHP Version: 4.3.2 OS: Red Hat Linux release 7.3 (Valha
Private report: No CVE-ID: None
 [2003-07-23 14:13 UTC] 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.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-07-23 17:23 UTC] 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-28 08:36 UTC] cyrille at iwebgroup dot com
Thanks ! It works well with only 1 set of openssl libraries and headers.

Cyrille.
 [2003-07-28 09:16 UTC] sniper@php.net
Not PHP bug -> bogus.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat May 18 18:01:32 2024 UTC