[imp] PHP4 + IMAP + MySQL

Max Kalika max@the-triumvirate.net
Wed, 10 Jan 2001 06:34:10 -0800


Quoting Clive McDowell <c.mcdowell@qub.ac.uk>:

> PHP Warning:  Unable to load dynamic library './imap.so' - ld.so.1:
> /usr/local/apache/bin/httpd: fatal: ./imap.so: open failed: No such file or 
> directory in Unknown on line 0

If you do have an imap.so file try configuring php (and/or apache) with the 
following:

   env LDFLAGS=-R/path configure

where /path is the directory where imap.so is located. -R on the solaris linker 
adds the /path to the library search paths for shared objects.

If you don't want to recompile, try starting apache with the following:

   env LD_LIBRARY_PATH=/path /usr/local/apache/bin/httpd

again where /path is the location (directory only) where imap.so is located.


--mk23