Re: Problem: "Unable to load dynamic library ... imap.so"
| From: | Yasuo Ohgaki | Date: | Fri, 07 Dec 2001 09:33:49 +0000 |
| Subject: | Re: Problem: "Unable to load dynamic library ... imap.so" | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-5228@lists.php.net to get a copy of this message | ||
Erik Wheeler wrote:
Hello all:
I configured and installed PHP (as a static Apache module) on my Redhat 7.1 system, using RPM source. I did a 'configure' and 'make', and then installed the PHP and Apache RPMs.
Everything seems to be working, except for a few options. I configured for IMAP, Mcal, and Mycrypt support, but test.php tells me that they are NOT working.
Of most concern to me is the IMAP functionality, because I want to run Imp. I get this message in /var/log/messages:
httpd: PHP Warning: Unable to load dynamic library '/usr/lib/php4/imap.so' - /usr/kerberos/lib/libcom_err.so. : shared object not open in Unknown on line 0
The imap.so file listed above *does* exist.
Any ideas what might be wrong? I've tried building it all twice now, with the same result.
My configure parameters:
./configure
--with-apache=../apache_1.3.19 \
--with-openssl \
--with-zlib \
--with-aspell \
--with-curl=/usr/include/curl \
--with-gettext \
--with-imap=../imap-2000c \
--with-imap-ssl \
--with-ldap \
--with-mcal=../libmcal \
--enable-ftp \
--with-mcrypt \
--with-mysql=/usr/local/mysql \
--with-pgsql=/usr/lib/pgsql \
--with-pspell \
--with-mm
Thanks!
Erik
Use of --with-something=[DIR] option is not right...
You are supposed to specify location of package. For example,
if you have curl source installed under
/usr/local/src/curl
then you write "--with-curl=/usr/local/src/curl".
You also should have lib installed somewhere accecible from your system. For example, if you install libcurleasy.so in /usr/local/curl/lib/, you should edit /etc/ld.so.conf and run ldconfig.
Search archive of this list, you'll find many useful info.
Regards,
--
Yasuo Ohgaki