php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #15809 IMAP undefined symbol: ssl_onceonlyinit
Submitted: 2002-03-01 06:20 UTC Modified: 2002-06-21 01:00 UTC
Votes:9
Avg. Score:4.3 ± 0.9
Reproduced:8 of 8 (100.0%)
Same Version:0 (0.0%)
Same OS:1 (12.5%)
From: neuman_peter at hotmail dot com Assigned:
Status: No Feedback Package: IMAP related
PHP Version: 4.1.2 OS: RedHat 7.2
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: neuman_peter at hotmail dot com
New email:
PHP Version: OS:

 

 [2002-03-01 06:20 UTC] neuman_peter at hotmail dot com
Hi,

If I PHP with --with-imap-ssl=/usr/local/openssl
install comes with apache start of the errors: 

Syntax error on line 240 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/libphp4.so into server:
/usr/local/apache/libexec/libphp4.so: undefined symbol: ssl_onceonlyinit
/usr/local/apache/bin/apachectl start: httpd could not be started

OpenSSL Version is: OpenSSL 0.9.6c
Apache Version is : 1.3.23

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-03-01 06:51 UTC] sander@php.net
A couple of days ago someone reported the same thing... so this is a dupe...
 [2002-04-10 18:54 UTC] sniper@php.net
Does PHP 4.2.0RC2 work any better?
(it can be found here: http://www.php.net/~derick/ )

 [2002-05-09 09:08 UTC] granzoporo at lacotisce dot it
Hi,

FreeBSD 4.5 RELEASE-p4
Apache httpd-2.0.35
mod_php4 php-4.2.0
openssl openssl-0.9.6c

portupgrade makes/installs all fine, but at last:

Syntax error on line 264 of /usr/local/apache2/conf/httpd.conf:
Cannot load /usr/local/libexec/apache2/libphp4.so into server:
/usr/local/libexec/apache2/libphp4.so: undefined symbol "ssl_onceonlyinit"
 [2002-05-20 18:21 UTC] gabriel at modwest dot com
I'm getting this same problem, with version 4.2.1 and compiling imap as a shared object.  I'm also using RedHat 7.2, with openssl-0.9.6b-8 installed.  Apparently there is no ssl_onceonlyinit() function in this version, at least according to a quick and dirty "rpm -ql openssl | xargs grep ssl_onceonlyinit"
 [2002-05-20 18:35 UTC] sniper@php.net
What if you don't have '--with-imap-ssl' in your configure line?

 [2002-05-20 18:40 UTC] gabriel at modwest dot com
It works fine without --with-imap-ssl :)  It'd be nice to provide this feature for our users though.  Here's an ldd of the imap object btw, looks like everything's there that should be:

# ldd imap.so 
libcrypto.so.2 => /lib/libcrypto.so.2 (0x400c4000)
libssl.so.2 => /lib/libssl.so.2 (0x40187000)
libgssapi_krb5.so.2 => /usr/kerberos/lib/libgssapi_krb5.so.2 (0x401b4000)
libkrb5.so.3 => /usr/kerberos/lib/libkrb5.so.3 (0x401c7000)
libk5crypto.so.3 => /usr/kerberos/lib/libk5crypto.so.3 (0x40220000)
libcom_err.so.3 => /usr/kerberos/lib/libcom_err.so.3 (0x40231000)
libc.so.6 => /lib/libc.so.6 (0x40234000)
libdl.so.2 => /lib/libdl.so.2 (0x4036a000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
 [2002-05-20 19:07 UTC] gabriel at modwest dot com
oh, I get it now.

ssl_onceonlyinit() is in c-client, but only if you compile it with ssl support.  There's a vague indication of that on the php manual page for the imap extension, but it could be clearer :)
 [2002-06-21 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Mon Aug 10 19:01:25 2020 UTC