pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/26913: www/apache dumps core when mod_perl is loaded
>Number: 26913
>Category: pkg
>Synopsis: www/apache dumps core when mod_perl is loaded
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Sep 11 21:45:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: Hiramatsu Yoshifumi
>Release: NetBSD 2.0E
>Organization:
>Environment:
System: NetBSD orinoco.my.domain 2.0E NetBSD 2.0E (Orinoco) #0: Sat May 1
12:05:20 JST 2004
root%orinoco.my.domain@localhost:/usr/src/sys/arch/i386/compile/Orinoco i386
Architecture: i386
Machine: i386
>Description:
On NetBSD-current, apache-1.3.31 dumps core when mod_perl is enabled
because sbin/httpd is not linked against libpthread.so while mod_perl.so
is linked against libpthread.so.
>How-To-Repeat:
cd www/apache
make install
cd www/ap-perl
make install
Add
LoadModule perl_module lib/httpd/mod_perl.so
to httpd.conf, and start apache.
>Fix:
link apache with libpthread.
diff -buNr apache.orig/Makefile apache/Makefile
--- apache.orig/Makefile 2004-09-12 05:53:23.000000000 +0900
+++ apache/Makefile 2004-09-12 05:53:27.000000000 +0900
@@ -45,6 +45,8 @@
CONFIGURE_ENV+= EAPI_MM="${BUILDLINK_PREFIX.libmm}"
CONFIGURE_ENV+= BINOWN=${BINOWN} BINGRP=${BINGRP}
+CONFIGURE_ENV+= LIBS=-lpthread
+
.include "../../mk/bsd.prefs.mk"
.if empty(STRIPFLAG)
@@ -208,4 +210,5 @@
${CHMOD} ${NONBINMODE} ${PREFIX}/libexec/cgi-bin/printenv \
${PREFIX}/libexec/cgi-bin/test-cgi
+.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
>Release-Note:
>Audit-Trail:
>Unformatted:
Home |
Main Index |
Thread Index |
Old Index