[Mono-dev] Compiling, running mod_mono on OS X (10.5.1)

Jeremy R. Geerdes jgeerdes at mchsi.com
Fri Feb 1 16:25:09 EST 2008

I've been trying for 3 1/2 days to get mod_mono up and running on my  
MacBook running Mac OS X 10.5.1 (detailed specs at end of message).   
The install appears to run smoothly, and files are definitely written  
to the disk, etc., but when I go to restart Apache, I receive the  
following error:

2/1/08 8:41:38 AM org.apache.httpd[7391] httpd: Syntax error on line  
492 of /private/etc/apache2/httpd.conf: Cannot load /opt/local/apache2/ 
modules/mod_mono.so into server: dlopen(/opt/local/apache2/modules/ 
mod_mono.so, 10): image not found

I read a message somewhere about this same message on PPC Macs, but I  
never found a resolution.  And mine is definitely Intel.  My own  
investigations have found that the install script creates a  
mod_mono.so in the correct folder (/opt/local/apache2/modules), but  
that it's a symlink/alias to mod_mono.0.0.0.so, which does not exist.

I have already (apparently successfully) installed and run mono and  
xsp.  At least, they report that they were installed correctly and are  
actively listening, etc.

I have tried installing the DarwinPorts version (which is older and  
never actually completes), as well as the manual install.  Any help  
would be greatly appreciated!

Detailed system specs:
Hardware: MacBook,3,1 (2.2GHz Core 2 Duo (Santa Rosa / x86-64)
OS: Mac OS X 10.5.1 (Leopard)
Apache: Apache/2.2.6 (Unix) mod_ssl/2.2.6 OpenSSL/0.9.7l DAV/2 PHP/ 
5.2.4 mod_fastcgi/2.4.2 mod_perl/2.0.2 Perl/v5.8.8

Jeremy R. Geerdes
Effective website design & development
Des Moines, IA

For more information or a project quote:
jgeerdes at mchsi.com

If you're in the Des Moines, IA, area, check out Debra Heights  
Wesleyan Church!

More information about the Mono-devel-list mailing list