php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #18423 IMAP - referenced symbol ssl_onceonlyinit not found
Submitted: 2002-07-18 16:37 UTC Modified: 2002-09-11 11:43 UTC
From: gpreston at ycp dot edu Assigned:
Status: No Feedback Package: IMAP related
PHP Version: 4.2.1 OS: Solaris 9
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: gpreston at ycp dot edu
New email:
PHP Version: OS:

 

 [2002-07-18 16:37 UTC] gpreston at ycp dot edu
I'm trying to implement PHP with IMAP SSL and am running into a few problems.  I have:
-OpenSSL 0.9.6d
-IMAP-2002.RC2
-php4-STABLE-200207010900
-Apache 2.0.39
and this is all running on a Solaris 9 (Sparc) machine.  Everything compiles and installs just fine, but when I attempt to start up the HTTPD, it crashes with the following output:

# /web/bin/apachectl startssl
Syntax error on line 230 of /web/conf/httpd.conf:
Cannot load /web/modules/libphp4.so into server: ld.so.1: /web/bin/httpd: fatal: relocation error: file /web/modules/libphp4.so: symbol ssl_onceonlyinit: referenced symbol not found

My configure for PHP is as follows:
CC=gcc ./configure  --with-apxs2=/web/bin/apxs --with-mysql --with-imap=/tmp/gabe/new-owl/imap-2002 --with-imap-ssl=/tmp/gabe/new-owl/imap-2002.RC2 --with-openssl --with-gettext --with-xml --with-zlib
My first attempt I tried with just --with-imap-ssl, but that died on me in the make, so then I added the --with-imap, and that still gave me problems, so then I finally added the --with-openssl and everything worked just fine.  Now I'm not exactly sure where the problem lies.  For the time being, I'm stepping back and will just use --with-imap and nothing else, but it would be a great help if I could implement the --with-imap-ssl at a later date.

Any suggestions or do you need more info?

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-07-18 17:49 UTC] sniper@php.net
Is your c-client library compiled with SSL support?

Also try this snapshot:

http://snaps.php.net/php4-latest.tar.gz

 [2002-07-19 10:15 UTC] gpreston at ycp dot edu
Yeah, I had compiled the c-client library with SSL with the following:

make gso SSLTYPE=unix

I'll try the latest CVS and see how this works for me.
 [2002-07-19 12:15 UTC] sniper@php.net
Are you sure that the c-client really HAS the SSL support?

Check if it really has the symbol:

# nm libc-client.a | grep ssl_once


 [2002-09-11 11:43 UTC] 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.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Dec 27 03:01:28 2024 UTC