Apache server imap.so ssl_once_only_init error

David Southwell david at vizion2000.net
Wed Oct 7 17:12:01 UTC 2009


> Robert Huff wrote:
> > David Southwell writes:
> >>  /libexec/ld-elf.so.1: /usr/local/lib/php/20060613/imap.so:
> >>  Undefined symbol "ssl_onceonlyinit"
> >
> > I look at this and ask (knowing very little about either) "is
> > this a problem with Apache, or a problem with PHP?".
> 
> Easy enough to see - comment out the imap.so module in
> /usr/local/etc/php/extensions.ini and see if Apache will start. If it does
> the problem is the imap module. A more generic way to drive this wedge is
>  to temporarily comment out the LoadModule php5_module line from
>  httpd.conf.
> 
> If it starts without this module it isn't Apache. Some PHP modules have
> dependencies in that they need the other modules loaded before they load.
> Try moving the imap.so line in extensions.ini to the bottom of the file so
> all the other crypt modules such as openssl, hash, mcrypt, etc are loaded
> first.
> 
> -Mike
> 
> 
> 
Mike you are right on the ball.

When I comment out the imap.so line in extensions.ini the server starts up 
normally. So now we have the culprit. That is after doing a portupgrade -frR 
mail/php5-imap.

The question is where do I go from here??

Thank you

David


More information about the freebsd-questions mailing list