[Mono-list] mod_mono problems

Darrell Blake darrell.blake at gmail.com
Mon Mar 3 17:31:20 EST 2008


I've installed Mono on OS X and compiled and installed mod_mono from
source (./configure && make && make install) which has all gone
smoothly but I'm having some trouble launching Apache.

I've gone the AutoHosting route and added "Include
/etc/apache2/mod_mono.conf" to my httpd.conf file but with this line
Apache wont launch. If I remove the line then Apache loads fine but
not when it's included.

The error I'm getting in the logs is this:

03/03/2008 22:25:33 org.apache.httpd[59793] httpd: Syntax error on
line 485 of /private/etc/apache2/httpd.conf: Syntax error on line 8 of
/etc/apache2/mod_mono.conf: Cannot load
/usr/libexec/apache2/mod_mono.so into server:
dlopen(/usr/libexec/apache2/mod_mono.so, 10): image not found

Now, /usr/libexec/apache2/mod_mono.so definitely exists. To prove it,
this is the output from "sudo find / -name mod_mono.so":

darrells-imac:~ Darrell$ sudo chmod 7777 /usr/libexec/apache2/
darrells-imac:~ Darrell$ sudo find / -name mod_mono.so
/Users/Darrell/Downloads/mod_mono-1.2.6/src/.libs/mod_mono.so
/usr/libexec/apache2/mod_mono.so
darrells-imac:~ Darrell$

Does anyone have any idea what I could have done wrong?


More information about the Mono-list mailing list