Subject: Re: ap-php3 core dumps
To: None <current-users@netbsd.org>
From: Michael Santos <mike@ethmoid.org>
List: current-users
Date: 05/13/2000 17:17:09
On Sat, May 13, 2000 at 03:30:52PM -0500, Mocha wrote:

> package ap-php3 compiles fine. but when i 'apachectl start' it core dumps. 
> apache starts ONLY if i remove the php directives from httpd.conf.
> 
> Segmentation fault - core dumped
> /usr/pkg/sbin/apachectl start: httpd could not be started

Run an ldd on /usr/pkg/lib/httpd/mod_php3.so and make sure it's linking to
an existing libgdbm.so.1. On my system it was pointing to /usr/lib instead
of /usr/pkg/lib. Quick fix: ln -s /usr/pkg/lib/libgdbm.so.1 /usr/lib

Regards,
-- 
Michael Santos
mike@ethmoid.org