RE: [PHP-INST] Why does imap not work as dl???
| From: | Mark Roedel | Date: | Wed, 08 Aug 2001 14:31:24 +0000 |
| Subject: | RE: [PHP-INST] Why does imap not work as dl??? | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-3902@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: Peter Holm [mailto:PHolm@gmx.de]
> Sent: Wednesday, August 08, 2001 9:11 AM
> To: php-install@lists.php.net
> Subject: [PHP-INST] Why does imap not work as dl???
>
>
> I am trying to compile the imap-module as a dl, but if I want to start
> apache I get this error:
>
> PHP Warning: Unable to load dynamic library
> '/usr/local/lib/php/20001222/imap.so' -
> /usr/local/lib/php/20001222/imap.so: undefined symbol: mxdriver in
> Unknown on line 0
Is the imap library's c-client.a or libc-client.a somewhere in your
libpath? That looks to be where the mxdriver is defined (at least on my
system).
> Also I do not understand, why libphp4.so gets about two megs bigger,
> if I compile with imap... that´s why I want to have it as dl.
The IMAP client libraries on my system are about 1.8M...if you're
compiling them into PHP, it stands to reason you'd have a size increase
of somewhere around that, doesn't it?
---
Mark Roedel | "The most overlooked advantage to owning a
Systems Programmer | computer is that if they foul up there's no
LeTourneau University | law against whacking them around a little."
Longview, Texas, USA | -- Owen Porterfield