Date: Sun, 16 Sep 2007 20:55:53 -0400 From: Michael Butler <imb@protected-networks.net> To: pluknet <pluknet@gmail.com> Cc: current@freebsd.org Subject: Re: apache start-up issue? Message-ID: <46EDD099.3070306@protected-networks.net> In-Reply-To: <a31046fc0709150319x7e189070p531a9764904f79d2@mail.gmail.com> References: <46E993C2.7020700@protected-networks.net> <a31046fc0709150319x7e189070p531a9764904f79d2@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
pluknet wrote: > On 13/09/2007, Michael Butler <imb@protected-networks.net> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46EDD099.3070306>