From: mage at gmage dot net Operating system: Debian Linux 2.4.20 PHP version: 4.3.0 PHP Bug Type: Compile Failure Bug description: Cannot compile using --with-imap-ssl
I cannot get php (4.3.0 through latest CVS) to compile when using --with-imap-ssl. I'm using debian linux with the debian libc-client SSL packages installed. I've seen numerous posts on this problem, but none of the solutions have worked for me. Configure line as follows: CPPFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib ./configure --prefix=/usr/local \ --with-apache=/root/programs/Apachetoolbox-1.5.64/apache_1.3.27 \ --enable-exif \ --enable-track-vars \ --with-calendar=shared \ --enable-magic-quotes \ --enable-trans-sid \ --enable-wddx \ --enable-ftp \ --enable-inline-optimization \ --enable-memory-limit \ --with-imap=/usr/local \ --with-imap-ssl \ --with-mhash=/usr/local \ --with-mcrypt=/usr/local \ --with-openssl="/usr/local" \ --with-gettext="/usr" \ --with-mysql=/usr \ Compiling shows the following error: ext/imap/php_imap.o(.text+0x345): In function `zm_startup_imap': /root/programs/Apachetoolbox-1.5.64/src/php-4.3.0/ext/imap/php_imap.c:424: undefined reference to `ssl_onceonlyinit' collect2: ld returned 1 exit status make: *** [sapi/cli/php] Error 1 Which I'm sure you've seen before. ;) As I said, I've tried the latest CVS and it still didn't work. I also tried compiling my own c-client from imap-2002b and pointing to that as the imap source. No go. Any help is appreciated. -Ken -- Edit bug report at http://bugs.php.net/?id=22717&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=22717&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=22717&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=22717&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=22717&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=22717&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=22717&r=support Expected behavior: http://bugs.php.net/fix.php?id=22717&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=22717&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=22717&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=22717&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22717&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=22717&r=dst IIS Stability: http://bugs.php.net/fix.php?id=22717&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=22717&r=gnused