On Tue, 11 Jun 2002, Paul G. Weiss wrote:
> I had already thought of that. Strace shows that the
> correct libperl.so is the one that is being loaded. Just
> to make sure I deleted all others and did
>
> ln -s /usr/lib/perl5/5.6.1/i386-freebsd-thread-multi/CORE /usr/lib
>
> but strace tells me that it is still directly loading the correct
> one, probably because of the
>
> -Wl,-R/usr/lib/perl5/5.6.1/i386-freebsd-thread-multi/CORE
>
> used in linking mod_perl.so.
ok.
> That being said I tried the LoadFile directive as you suggested.
> This indeed lets the system start, but now it can serve no
> pages ( not even static ones ). This is true even when all
> mod_perl configuration directive are removed from the conf
> file (except the LoadFile and the LoadModule).
>
> However, when I do httpd -X, it
> works - I can even serve mod_perl content. But regular httpd
> just hangs. The strace output of an httpd process shows this:
>
> accept(5, {sin_family=AF_INET6, sin6_port=htons(1303), inet_pton(AF_INET6,
> "::ffff:65.204.1.133", &sin6_addr), sin6_flowinfo=0}, [28]) = 20
could this be a version of freebsd with broken threads support? i've
heard many cases of that. chances are if you rebuild perl without
-Dusethreads and apache with the prefork mpm, this problem won't be there.