Imap: /usr/bin/ld cannot find -limap
| From: | Francois Thomas | Date: | Tue, 28 Aug 2001 09:13:55 +0000 |
| Subject: | Imap: /usr/bin/ld cannot find -limap | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-4096@lists.php.net to get a copy of this message | ||
Hello list
I run php4.06 with apache1.3.14 and postgresql7.1.3
I now need imap support with php, so I tried to recompile it.. The configure
script works well, but when I try to make I have the following error:
make[1]: Entre dans le répertoire `/usr/local/src/php-4.0.6'
/bin/sh /usr/local/src/php-4.0.6/libtool --silent --mode=link gcc -I.
-I/usr/local/src/php-4.0.6/ -I/usr/local/src/php-4.0.6/main
-I/usr/local/src/php-4.0.6 -I/usr/local/apache/include
-I/usr/local/src/php-4.0.6/Zend -I/usr/include/c-client
-I/usr/local/src/php-4.0.6/ext/xml/expat/xmltok
-I/usr/local/src/php-4.0.6/ext/xml/expat/xmlparse
-I/usr/local/src/php-4.0.6/TSRM -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT
-DSUPPORT_UTF8 -DXML_BYTE_ORDER=12 -g -O2 -o libphp4.la -rpath
/usr/local/src/php-4.0.6/libs -avoid-version -L/usr/local/pgsql/lib -R
/usr/local/pgsql/lib stub.lo Zend/libZend.la sapi/apache/libsapi.la
main/libmain.la regex/libregex.la ext/calendar/libcalendar.la
ext/imap/libimap.la ext/pcre/libpcre.la ext/pgsql/libpgsql.la
ext/posix/libposix.la ext/session/libsession.la ext/standard/libstandard.la
ext/xml/libxml.la TSRM/libtsrm.la -limap -ldl -lpq -lcrypt -lresolv -lm -ldl
-lnsl -lresolv
/usr/bin/ld: cannot find -limap
collect2: ld returned 1 exit status
make[1]: *** [libphp4.la] Erreur 1
make[1]: Quitte le répertoire `/usr/local/src/php-4.0.6'
make: *** [all-recursive] Erreur 1
I use a Debian system (2.2_r3 Potato), with libc-client4.7 and
libc-client4.7-dev installed.
Any advice welcome !
TIA
François
PS By the way, here is my configure line:
./configure --with-apxs=/usr/local/apache/bin/apxs --enable-magic-quotes
--enable-calendar --with-pgsql --without-mysql --with-imap