|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #23371 configure falsely detects c-client using SSL
Submitted: 2003-04-27 07:32 UTC Modified: 2003-04-30 05:35 UTC
From: ian468 at ekit dot com Assigned:
Status: Closed Package: IMAP related
PHP Version: 4.3.2RC1 OS: Sol 2.6/x86, Sol 2.7/sparc
Private report: No CVE-ID: None
 [2003-04-27 07:32 UTC] ian468 at ekit dot com
Using UWASH imap-2002b with 'make gso SSLTYPE=none' 
ends up with:

configure: error: This c-client library is built with SSL support.

An attempted workaround supplying --with-imap-ssl=pathname
results in undefined reference to ssl_onceonlyinit().

The configure test for presense of ssl_onceonlyinit()
in c-client.a is reversed from what it should be.

Obviously others have reported similar long ago
but its obviously not fixed in 4.3.2RC1 either.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2003-04-28 08:01 UTC]
Please try using this CVS snapshot:
For Windows:

And if the error persists, check config.log for the actual
reason why the test fails..

 [2003-04-29 02:02 UTC] ian468 at ekit dot com
No better. Below is the tail of config.log.   This shows (correctly) an undefined reference to ssl_onceonlyinit()
which should cause it to eventually not define HAVE_IMAP_SSL
and configure should not complain about the lack of 

Ian D
configure:36224: checking whether SSL libraries are needed for c-client
configure:36353: gcc -o conftest -g -O2  -D_POSIX_PTHREAD_SEMANTICS -R/opt/local/lib -R/usr/ucblib -L/usr/ucblib -R/opt/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2 -L/opt/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2 -R/import/src/www/EKCapache/sparc_sol2.7/imap-2002b/c-client -L/import/src/www/EKCapache/sparc_sol2.7/imap-2002b/c-client conftest.c -L/import/src/www/EKCapache/sparc_sol2.7/imap-2002b/c-client -lc-client -lcrypt -lpam -lresolv -lm -lsocket  -lgcc 1>&5
/var/tmp/cc1WsREP.o: In function `main':
/import/src/www/EKCapache/sparc_sol2.7/php4-STABLE-200304290130/configure:36347: undefined reference to `ssl_onceonlyinit'
collect2: ld returned 1 exit status
configure: failed program was:
#line 36328 "configure"
#include "confdefs.h"

    void mm_log(void){}
    void mm_dlog(void){}
    void mm_flags(void){}
    void mm_fatal(void){}
    void mm_critical(void){}
    void mm_nocritical(void){}
    void mm_notify(void){}
    void mm_login(void){}
    void mm_diskerror(void){}
    void mm_status(void){}
    void mm_lsub(void){}
    void mm_list(void){}
    void mm_exists(void){}
    void mm_searched(void){}
    void mm_expunged(void){}
    char ssl_onceonlyinit();
    int main() {
      return 0;
 [2003-04-30 05:35 UTC]
This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at
In case this was a documentation problem, the fix will show up soon at

In case this was a website problem, the change will show
up on the site and on the mirror sites in short time.
Thank you for the report, and for helping us make PHP better.

PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Mon May 29 10:03:44 2023 UTC