From: joerg dot ludwig at hvf-bs dot net
Operating system: RedHat 7.3 Linux
PHP version: 4.3.2
PHP Bug Type: *Compile Issues
Bug description: imap.so module broken
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.
--
Edit bug report at http://bugs.php.net/?id=24233&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=24233&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=24233&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=24233&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=24233&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=24233&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=24233&r=support
Expected behavior: http://bugs.php.net/fix.php?id=24233&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=24233&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=24233&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=24233&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24233&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=24233&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=24233&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=24233&r=gnused