Bug #18423 Updated: IMAP - referenced symbol ssl_onceonlyinit not found

From: Date: Fri, 19 Jul 2002 16:15:49 +0000
Subject: Bug #18423 Updated: IMAP - referenced symbol ssl_onceonlyinit not found
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-14641@lists.php.net to get a copy of this message
ID: 18423 Updated by: sniper@php.net Reported By: gpreston@ycp.edu -Status: Open +Status: Feedback Bug Type: IMAP related Operating System: Solaris 9 PHP Version: 4.2.1 New Comment: 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 Previous Comments: ------------------------------------------------------------------------ [2002-07-19 10:15:31] gpreston@ycp.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-18 17:49:25] 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-18 16:37:38] gpreston@ycp.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? ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=18423&edit=1

« previous php.bugs (#14641) next »