php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #24233 imap.so module broken
Submitted: 2003-06-17 21:30 UTC Modified: 2003-06-18 12:53 UTC
From: joerg dot ludwig at hvf-bs dot net Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 4.3.2 OS: RedHat 7.3 Linux
Private report: No CVE-ID: None
 [2003-06-17 21:30 UTC] joerg dot ludwig at hvf-bs dot net
Description:
------------
I built my php rpm with these options:
%configure \
        --cache-file=../config.cache \
        --with-config-file-path=%{_sysconfdir}/miniphp \
        --enable-force-cgi-redirect \
        --disable-debug \
        --disable-rpath \
        --enable-inline-optimization \
        --with-exec-dir=%{_bindir} \
        --disable-all \
        --with-pcre-regex \
        --enable-posix \
        --enable-memory-limit \
        --enable-mbstring \
        --with-imap=shared \
        --with-imap-ssl \
        --with-kerberos=/usr/kerberos

I got no errors while building, but I couldn't load the imap module:

# php -r 'dl("imap.so");'
Warning: dl(): Unable to load dynamic library '/usr/lib/php4/imap.so' - ??B??B/php4/imap.so: shared object not open in Command line code on line 1

When I add "--with-openssl" to configure, everything works.

Expected result:
----------------
I expect configure to output an error instead of building a broken module.
A notice in "configure --help" would be helpful too.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-06-18 10:04 UTC] iliaa@php.net
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

If you use --with-imap-ssl you need to add --with-openssl to your configure line otherwise the imap module will not work as you've discovered.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Jul 29 15:00:02 2025 UTC