Subject: Re: apache and mod_perl
To: Emmanuel Dreyfus , <>
From: Peter Eisch <>
List: pkgsrc-users
Date: 11/21/2006 13:58:45
On 11/21/06 11:35 AM, "Emmanuel Dreyfus" <> wrote:

> Hello
> A strange problem with apache and mod_perl from pkgsrc:
> I had to add -lpthread in httpd link command, otherwise loading
> mod_perl caused a core dump.
> The idea of adding -lpthread come from a warning message that is
> displayed during www/ap-perl build, where it's said that perl is
> built with -lpthread, check that httpd is build with -lpthread too.
> I don't know how this can be correctly fixed.

In my mk.conf to use ap2 I have:

PKG_OPTIONS.perl = -threads
PKG_OPTIONS.apache = suexec

This works very well for me.