From owner-freebsd-current@FreeBSD.ORG Mon Sep 17 00:56:11 2007 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4A9A616A41A for ; Mon, 17 Sep 2007 00:56:11 +0000 (UTC) (envelope-from imb@protected-networks.net) Received: from aaron.protected-networks.net (aaron.protected-networks.net [202.12.127.66]) by mx1.freebsd.org (Postfix) with ESMTP id CF8C413C442 for ; Mon, 17 Sep 2007 00:56:10 +0000 (UTC) (envelope-from imb@protected-networks.net) Received: from localhost (localhost [127.0.0.1]) by aaron.protected-networks.net (Postfix) with ESMTP id 182FDC596; Sun, 16 Sep 2007 20:56:10 -0400 (EDT) Received: from toshi.auburn.protected-networks.net (toshi.auburn.protected-networks.net [202.12.127.84]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "Iain Michael Butler", Issuer "Protected Networks Certificate Authority" (verified OK)) (Authenticated sender: imb@protected-networks.net) by aaron.protected-networks.net (Postfix) with ESMTP id 84FB9C346; Sun, 16 Sep 2007 20:55:54 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=protected-networks.net; s=200705; t=1189990554; bh=KD5W9z2UNfdltG SDFCT/2bylbKl6eEE+Rc8K9jotso8=; h=DomainKey-Signature:Message-ID: Date:From:User-Agent:MIME-Version:To:CC:Subject:References: In-Reply-To:X-Enigmail-Version:OpenPGP:Content-Type: Content-Transfer-Encoding; b=HKzOSNDlLuIabHh3SgwtdZdhnl5U0c6v0jLe9 pDRkbEpW+iMc9B6lhg0MgEKtif0esP6AfsFojETRVE1J2P6bd3uOJJzoNjJiH2/kQs2 KbfqScjDXArC2d+QqCAok1II DomainKey-Signature: a=rsa-sha1; s=200509; d=protected-networks.net; c=nofws; q=dns; h=message-id:date:from:user-agent:mime-version:to:cc:subject: references:in-reply-to:x-enigmail-version:openpgp:content-type:content-transfer-encoding; b=RC6RVIuJYfBZhaah0JE8RgHcff3UKA6VlwdB9LbUrB2hSh8uP8dp/9k91uWBt1f/P H9BWRF+esk6IY3CtIg+6lN5Z5gXxMD9w8vTRb5hlQFxF3e6Jkz3Py/NU30P6ADI Message-ID: <46EDD099.3070306@protected-networks.net> Date: Sun, 16 Sep 2007 20:55:53 -0400 From: Michael Butler User-Agent: Thunderbird 2.0.0.6 (X11/20070903) MIME-Version: 1.0 To: pluknet References: <46E993C2.7020700@protected-networks.net> In-Reply-To: X-Enigmail-Version: 0.95.2 OpenPGP: id=0442D492 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: current@freebsd.org Subject: Re: apache start-up issue? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Sep 2007 00:56:11 -0000 pluknet wrote: > On 13/09/2007, Michael Butler wrote: >> This is weird .. any ideas? >> >> imb@mail:/home/imb> sudo /usr/local/etc/rc.d/apache.sh restart >> apache not running? (check /var/run/httpd.pid). >> Starting apache. >> Syntax error on line 205 of /usr/local/etc/apache/httpd.conf: >> Cannot load /usr/local/libexec/apache/mod_mmap_static.so into server: >> /usr/local/libexec/apache/mod_mmap_static.so: Undefined symbol >> "ap_null_cleanup" >> >> .. yet .. >> >> imb@mail:/home/imb> nm /usr/local/sbin/httpd | grep ap_null_cleanup >> 0804b290 T ap_null_cleanup >> > > Hello. > > An --export-dynamic flag passed to the linker helped me to avoid this issue. The fix is even more simple than this .. create small shell script and place it in /usr/bin/objformat. It should read something like this .. #!/bin/sh echo elf Which tells the src/Configure script to apply the appropriate linker flags ;-) Michael