From owner-freebsd-current Wed Oct 14 04:51:49 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA15082 for freebsd-current-outgoing; Wed, 14 Oct 1998 04:51:49 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from mail.singtel-yp.com (mail.singtel-yp.com [165.21.60.44]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id EAA15073 for ; Wed, 14 Oct 1998 04:51:43 -0700 (PDT) (envelope-from ktsin@singtel-yp.com) Received: (qmail 10667 invoked from network); 14 Oct 1998 11:51:09 -0000 Received: from unknown (HELO daffodil.singtel-yp.com) (165.21.60.245) by mail.singtel-yp.com with SMTP; 14 Oct 1998 11:51:09 -0000 Received: (from ktsin@localhost) by daffodil.singtel-yp.com (8.8.8/8.8.8) id TAA00537; Wed, 14 Oct 1998 19:51:10 +0800 (SGT) (envelope-from ktsin) Message-Id: <199810141151.TAA00537@daffodil.singtel-yp.com> Subject: RE: 19981002-BETA Apache/Mouse problems To: jon@minotaur.com, freebsd-current@FreeBSD.ORG Date: Wed, 14 Oct 1998 19:51:10 +0800 (SGT) Cc: ulf@Alameda.net, netchild@wurzelausix.CS.Uni-SB.DE, jerry@reillyplating.com Expires: Wed, 21 Oct 1998 From: Sin Key Teck X-Mailer: ELM [version 2.4ME+ PL43 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I tried compiling Apache13 which seemed to work well, but when I attempted > to run it, I ran into some module problems when trying > /usr/local/sbin/apachectl start -- I get the following error: > > Syntax error on line 26 of /usr/local/etc/apache/httpd.conf: > Cannot load /usr/local/libexec/apache/mod_mime_magic.so into server: > /usr/local/libexec/apache/mod_mime_magic.so: Undefined symbol > "ap_make_sub_pool" I believe the problem is caused by two things: dynamic loading and ELF. Guess Apache's configuration programs are unable to handle the recent changes to -current. Try putting the patch below as patch-am into PORTSDIR/www/apache13/patches/ (apache-1.3.2) and rebuild. It is ugly but it solves the problem. I wonder if anyone has come up with a more elegant solution. -------------------------------cut here--------------------------------- --- src/Configure.orig Sun Sep 20 23:48:57 1998 +++ src/Configure Wed Oct 14 19:09:21 1998 @@ -889,10 +889,16 @@ LDFLAGS_SHLIB_EXPORT="-rdynamic" SHLIB_SUFFIX_DEPTH=0 ;; - *-freebsd*) + *-freebsd2*) CFLAGS_SHLIB="-fpic" LDFLAGS_SHLIB="-Bshareable" LDFLAGS_SHLIB_EXPORT="" + SHLIB_SUFFIX_DEPTH=2 + ;; + *-freebsd3*) + CFLAGS_SHLIB="-fpic" + LDFLAGS_SHLIB="-Bshareable" + LDFLAGS_SHLIB_EXPORT="-rdynamic" SHLIB_SUFFIX_DEPTH=2 ;; *-openbsd*) --- src/os/unix/os.h.orig Wed Sep 16 14:49:44 1998 +++ src/os/unix/os.h Wed Oct 14 17:20:54 1998 @@ -121,7 +121,7 @@ #define RTLD_GLOBAL 0 #endif -#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) +#if __FreeBSD__ < 3 || defined(__OpenBSD__) || defined(__NetBSD__) #define DLSYM_NEEDS_UNDERSCORE #endif -------------------------------cut here--------------------------------- kt > Doing file /usr/local/libexec/apache/mod_mime_magic.so, I get: > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message