imap-2002e and php 4.3.6
| From: | roman | Date: | Tue, 20 Apr 2004 16:55:17 +0000 |
| Subject: | imap-2002e and php 4.3.6 | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-13288@lists.php.net to get a copy of this message | ||
Hi
I am installing a smal mailserver under debian (xbox).
-->The problem: compiling php --with-imap:
---------------------------------------
Qmail
vpopmail
Apache
Mysql
PHP
--> are working
-----------The imap-2002e installl: ------------------------ With SSL support: ------------------ tar -zxf imap-2002e.tar.Z cd imap-2002e make ldb ln -sf c-client include ln -sf c-client lib --> no errors The PHP4.3.6 installl: ---------------------- (works fine without imap) ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=/usr/local/mysql --with-zlib-dir=/usr/lib/ --enable-versioning --enable-track-vars=yes --enable-url-includes --enable-sysvshm=yes --enable-sysvsem=yes --enable-ftp --with-config-file-path=/etc --with-gd --with-dom --with-iconv --with-gettext --with-openssl --with-mcrypt --enable-mbstring=all --with-mime-magic --with-imap=/usr/local/src/imap-2002e --with-imap-ssl=/usr/local/ssl is going through. --> no errors at the end of "make" occurs the error ------------------------------------- ... /usr/bin/ld: cannot find -lltdl collect2: ld returned 1 exit status make: *** [libphp4.la] Error 1 ... the config.log tells me: ... configure:39998: checking for IMAP support configure:40447: checking for pam_start in -lpam configure:40604: checking for crypt in -lcrypt configure:41054: checking whether SSL libraries are needed for c-client configure:41184: gcc -o conftest -g -O2 -Wl,-rpath,/usr/local/ssl/lib -L/usr/local/ssl/lib -Wl,-rpath,/usr/local/lib -L/usr/local/lib -Wl,-rpath,/usr/local/src/imap-2002e/lib -L/usr/local/src/imap-2002e/lib conftest.c -lc-client -lssl -lcrypto -lcrypt -lpam -lpng -lz -lz -lz -lssl -lcrypto -lresolv -lm -ldl -lnsl -lxml2 -lz -liconv -lm 1>&5 /tmp/ccGH0fBl.o(.text+0x82): In function `main': /usr/local/src/lamps/php-4.3.6/configure:41178: undefined reference to `auth_gssapi_valid' collect2: ld returned 1 exit status configure: failed program was: #line 41159 "configure" #include "confdefs.h"
void mm_log(void){}
void mm_dlog(void){}
void mm_flags(void){}
void mm_fatal(void){}
void mm_critical(void){}
void mm_nocritical(void){}
void mm_notify(void){}
void mm_login(void){}
void mm_diskerror(void){}
void mm_status(void){}
void mm_lsub(void){}
void mm_list(void){}
void mm_exists(void){}
void mm_searched(void){}
void mm_expunged(void){}
char auth_gssapi_valid();
int main() {
auth_gssapi_valid();
return 0;
}
...
#(The last 12 lines)#
...
configure:91681: checking if gcc supports -fno-rtti -fno-exceptions
configure:91694: gcc -c -g -O2 -fno-rtti -fno-exceptions -c conftest.c -I$(top_builddir)/TSRM conftest.c 1>&5
configure:91725: checking whether the linker (/usr/bin/ld) supports shared libraries
configure:92416: checking how to hardcode library paths into programs
configure:92448: checking whether stripping libraries is possible
configure:92466: checking dynamic linker characteristics
configure:92881: checking if libtool supports shared libraries
configure:92889: checking whether to build shared libraries
configure:92916: checking whether to build static libraries
configure:93456: checking whether -lc should be explicitly linked in
Any help or ideas around?
Regards roman