problems compiling php+imap with apache
| From: | Piotr Szymanek | Date: | Wed, 11 Jul 2001 12:15:34 +0000 |
| Subject: | problems compiling php+imap with apache | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-3496@lists.php.net to get a copy of this message | ||
Hi.
I'm trying to install apache with php4 and imap (c-client) on RedHat7.1
.
C-client compiles fine.
PHP (4.0.6) always compiles fine (with --with-imap or without it).
Apache (1.3.9) compiles (and works) fine only if PHP was compiled
WITHOUT imap. If PHP was compiled with imap apache does not compile
successfully (problems with imap libraries):
...
modules/php4/libphp4.a(php_imap.o): In function `mail_close_it':
/root/soft/php-4.0.6/ext/imap/php_imap.c:190: undefined reference to
`mail_close_full'
modules/php4/libphp4.a(php_imap.o): In function
`mail_newfolderobjectlist':
/root/soft/php-4.0.6/ext/imap/php_imap.c:250: undefined reference to
`fs_get'
modules/php4/libphp4.a(php_imap.o): In function `mail_free_foblist':
/root/soft/php-4.0.6/ext/imap/php_imap.c:263: undefined reference to
`fs_give'
modules/php4/libphp4.a(php_imap.o): In function `mail_newerrorlist':
/root/soft/php-4.0.6/ext/imap/php_imap.c:277: undefined reference to
`fs_get'
modules/php4/libphp4.a(php_imap.o): In function `mail_free_errorlist':
/root/soft/php-4.0.6/ext/imap/php_imap.c:288: undefined reference to
`fs_give'
modules/php4/libphp4.a(php_imap.o): In function `php_rshutdown_imap':
/root/soft/php-4.0.6/ext/imap/php_imap.c:330: undefined reference to
`mail_free_stringlist'
modules/php4/libphp4.a(php_imap.o): In function `mail_newmessagelist':
/root/soft/php-4.0.6/ext/imap/php_imap.c:356: undefined reference to
`fs_get'
modules/php4/libphp4.a(php_imap.o): In function `php_minit_imap':
/root/soft/php-4.0.6/ext/imap/php_imap.c:437: undefined reference to
`unixdriver'
/root/soft/php-4.0.6/ext/imap/php_imap.c:437: undefined reference to
`mail_link'
/root/soft/php-4.0.6/ext/imap/php_imap.c:439: undefined reference to
`imapdriver'
...
Any suggestions are welcome.
- Piotr Szymanek