php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #26256 apache fails to load
Submitted: 2003-11-14 18:21 UTC Modified: 2003-11-17 14:56 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: dev5 at es11 dot com Assigned:
Status: Not a bug Package: Apache2 related
PHP Version: 4.3.4 OS: FreeBSD 4.8
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: dev5 at es11 dot com
New email:
PHP Version: OS:

 

 [2003-11-14 18:21 UTC] dev5 at es11 dot com
Description:
------------
I ran into this problem earlier but could not seem to pin-point the exact problem. I think I found it.

the problem is:
Cannot load /usr/local/apache/modules/libphp4.so into server: /usr/local/apache/modules/libphp4.so: Undefined symbol "OpenSSL_add_all_algorithms"

this appeared to have been an issue in earlier versions as well, but started with the introduction of OpenSSL 0.9.7.

This error, however is produced ONLY when I link PHP against PDFLib. 
I don't know where to start investigating from here, but perhaps someone has an idea how the two libraries (OpenSSL (0.9.7(a,b) and PDFLib (4 and 5)) fail to link into libphp.so correctly.

Here's what's on the system:

FreeBSD 4.8 (intel)
OpenSSL 0.9.7b
Apache 2.0.47
PHP 4.3.4 (this behavior applies to earlier versions too)
PDFLib-Lite 5.0.2 (compiled from source into a shared lib)

configure line
'./configure' '--with-mysql=/usr/local/mysql' '--with-apxs2=/usr/local/apache/bin/apxs' '--with-openssl=/usr/bin' '--enable-cli' '--enable-ftp' '--with-gd' '--with-jpeg-dir=/usr/lib' '--with-png-dir=/usr/lib' '--with-ttf' '--with-zlib' '--with-pspell' '--with-mcrypt' '--with-xpm-dir=/usr/lib' '--with-zip=/usr/local/lib' '--with-ming=/usr/local/lib' --with-pdflib 


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-11-17 14:56 UTC] iliaa@php.net
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

Your system probably cannot find the openssl library, which is found in /usr/bin (???), you need to add /usr/bin to your ld.so.conf or use other means to make it check that directory for libraries.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 02 03:01:29 2024 UTC