|  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
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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
7 + 45 = ?
Subscribe to this entry?

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

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/ into server:
/usr/local/apache/libexec/ 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


Add a Patch

Pull Requests

Add a Pull Request


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

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

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/ into server:
/usr/local/libexec/apache2/ 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]
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 => /lib/ (0x400c4000) => /lib/ (0x40187000) => /usr/kerberos/lib/ (0x401b4000) => /usr/kerberos/lib/ (0x401c7000) => /usr/kerberos/lib/ (0x40220000) => /usr/kerberos/lib/ (0x40231000) => /lib/ (0x40234000) => /lib/ (0x4036a000)
/lib/ => /lib/ (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-2021 The PHP Group
All rights reserved.
Last updated: Mon Apr 12 11:01:23 2021 UTC