Re: apache start-up issue?

From: Michael Butler <imb_at_protected-networks.net>
Date: Sun, 16 Sep 2007 20:55:53 -0400
pluknet wrote:
> On 13/09/2007, Michael Butler <imb_at_protected-networks.net> wrote:
>> This is weird .. any ideas?
>>
>> imb_at_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_at_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
Received on Sun Sep 16 2007 - 22:56:11 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:17 UTC