From:             davidp at oak dot njit dot edu
Operating system: Solaris 8
PHP version:      4.3.1
PHP Bug Type:     IMAP related
Bug description:  configure stops at "checking whether IMAP works... no"

#!/bin/ksh

set -o allexport

PATH=/usr/local/bin/gnu:$PATH
DIR=/afs/cad/solaris/apache.127.proto

if [[ -d $DIR/php-4.3.1 ]]; then
 cd $DIR/php-4.3.1
else
 print "$DIR/php-4.3.1 does not exist -- exiting..."
 exit 0
fi

./configure \
--with-apxs=$DIR/apache/bin/apxs \
--with-ldap=/afs/cad/solaris/openldap \
--with-imap=/usr/local/imap \
--with-imap-ssl=/usr/local/ssl \
| tee -a CONFIGURE.log

#--------------------------
=> Configure stops at:
checking whether IMAP works... no
configure: error: build test failed. Please check the config.log for
details.

=> From config.log:
configure:35446: gcc -o conftest -g -O2  -D_POSIX_PTHREAD_SEMANTICS
-DSOLARIS2=2
80 -DUSE_EXPAT  -R/usr/ucblib -L/usr/ucblib
-R/usr/local/lib/gcc-lib/sparc-sun-s
olaris2.8/3.2 -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.2
-R/usr/local/imaplib -L/usr/local/imaplib -R/usr/local/ssl/lib
-L/usr/local/ssllib conftest.c
 -lcrypto -lssl -lc-client   -lcrypt -lpam -lcrypt -lresolv -lm -ldl -lnsl
-lsoc
ket  -lgcc -lcrypt 1>&5
Undefined                       first referenced
 symbol                             in file
SSL_library_init                   
/usr/local/imap/lib/libc-client.a(osdep.o)
.
.

ERR_get_error                      
/usr/local/imap/lib/libc-client.a(osdep.o)
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
configure: failed program was:
#line 35421 "configure"
#--------------------------
=> End of CONFIGURE.log:

checking for IMAP support... yes
checking for pam_start in -lpam... yes
checking for crypt in -lcrypt... (cached) yes
checking whether SSL libraries are needed for c-client...
/usr/local/ssl/lib
checking whether IMAP works... no
#--------------------------
/usr/local/imap/lib/libc-client.a is from Univ. of Washington IMAP
imap-2003.DEV.SNAP-0301171021

-- 
Edit bug report at http://bugs.php.net/?id=22851&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=22851&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=22851&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=22851&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=22851&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=22851&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=22851&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=22851&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=22851&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=22851&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=22851&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22851&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=22851&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=22851&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=22851&r=gnused

Reply via email to