Apache13-ssl fails on 7-PRERELEASE

Chris H. chris# at 1command.com
Mon Jan 28 14:59:47 PST 2008


Quoting "Chris H." <chris#@1command.com>:

> Quoting "Chris H." <chris#@1command.com>:
>
>> Greetings,
>> On an SMP system (2 CPU) running 7 cvsupped on 2008-01-15
>> with a build/install world/kernel on the same.
>
> D'ho! Forgot to mention this is on an i386.
>
>> I built/installed
>> www/apache13-ssl. It built/installed expected. However, after
>> testing with an httpsdctl configtest, apache emitted the following:
>> Syntax error on line 208 of /usr/local/etc/apache/httpsd.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"
>>
>> Commenting the offending module only caused apache to complain
>> about the next one in the list. This is a terrible loss to the
>> FreeBSD ports. Has anyone a suggestion/patch for this? Has anyone
>> else experienced this problem? All of our other servers have built/
>> ran this version without complaint/trouble. All the conf files have
>> been carefully crafted over many yrs. and I have no interest in
>> using a newer version of Apache, so as to have to re-craft the
>> configs.
>>
>> Thank you for all your time and consideration in this matter.
>>
>> P.S.
>> I realize that this should normally be directed to apache-freebsd@
>> and I /did/ do so. However, after having been on the list for quite
>> some time. It appears that I am the only one subscribed to it.
>> Further, as this is on CURRENT, I felt that there must be some
>> difference. As I had no trouble with this on a 6-CURRENT box/install.
>>
>> Thanks again.

OK. After much research and trials and errors. I was able to find a
solution. In spite of the man page information regarding objformat
being obsolete and discontinued. It is still required (at least for
a few things). As it happens, it is quite easy to overcome the problem
building a /working/ www/apache13-ssl from recent src on a
FreeBSD 7.0-PRERELEASE i386 box. It is a matter of creating:
/usr/bin/objformat

eg;

# touch /usr/bin/objformat

Edit /usr/bin/objformat and add the following:

#!/bin/sh
echo elf

Now perform the following:

# chmod +r +x -w /usr/bin/objformat

You're done. :)
Happy building!

--Chris H

>>
>> --Chris H
>>
>> -- 
>> panic: kernel trap (ignored)
>>
>>
>>
>> _______________________________________________
>> freebsd-stable at freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
>> To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org"
>>
>
> -- 
> panic: kernel trap (ignored)
>
>
>
> _______________________________________________
> freebsd-stable at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org"
>



-- 
panic: kernel trap (ignored)





More information about the freebsd-stable mailing list