php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #12125 imap-ssl configure test fails (fixed!) See 11934
Submitted: 2001-07-13 00:28 UTC Modified: 2001-08-11 12:23 UTC
From: n at mellor dot bc dot ca Assigned:
Status: Closed Package: IMAP related
PHP Version: 4.0.6 OS: linux redhat 6.2
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: n at mellor dot bc dot ca
New email:
PHP Version: OS:

 

 [2001-07-13 00:28 UTC] n at mellor dot bc dot ca
Good news!

I've figured out the reason why --with-imap-ssl fails
in the configure script!

The gcc line should be:

gcc -o conftest -g -O2 
-Wl,-rpath,/usr/depot/openssl-0.9.6b/lib 
-L/usr/depot/openssl-0.9.6b/lib -Wl,-rpath,/usr/lib/lib 
-L/usr/lib/lib -Wl,-rpath,/usr/depot/imap/src/c-client 
-L/usr/depot/imap/src/c-client conftest.c -lpam -lssl 
-lgmp -lgd -lttf -lpng -lz -ljpeg -lgdbm -lz -lcrypt  
-lc-client  -lcrypto -lresolv -lm -ldl -lnsl -lresolv

The problem was that '-lc-client' was at the end of the 
line, and it *must* be before -lssl or else unresolved 
symbols ensue and the configuration fails.

#line 22889 "configure"


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-07-26 18:16 UTC] sniper@php.net
Could you please try the latest CVS snapshot from http://snaps.php.net/ since this should be fixed in it.

--Jani

 [2001-08-11 12:23 UTC] sniper@php.net
Reopen if latest CVS snapshot doesn't fix this.

--Jani

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue May 06 09:01:28 2025 UTC