[Mono-osx] Getting Mono to work with Apache in Mac OS X Leopard

md582 mono at matthias-donat.de
Fri Jul 24 12:10:14 EDT 2009

Console says this >>>

24.07.09 18:05:33 org.apache.httpd[61872] httpd: Syntax error on line 529 of
/private/etc/apache2/httpd.conf: Syntax error on line 8 of
/private/etc/apache2/mod_mono.conf: Cannot load
/usr/libexec/apache2/mod_mono.so into server:
dlopen(/usr/libexec/apache2/mod_mono.so, 10): Symbol not found:
_g_ascii_table\n  Referenced from: /usr/libexec/apache2/mod_mono.so\n 
Expected in: flat namespace\n 

Thanks for your reply...

eto wrote:
> Hi,
> Yes, Macports is for easy installing of 64-bit glib2.  You cannot use
> glib2 from the mono framework, as it is 32 bit.  You do not need to
> re-compile Mono framework with -m64 and I use the standard os x binaries &
> installer from mono-project.com
> However, you DO need to compile glib2 and mod_mono with -m64 though.
> Check the Console -> All Messages (or /var/log/system.log).  It will tell
> you why apache doesn't start.. typically because the mod_mono can't be
> loaded because it's the wrong architecture.
> Cheers!
> Curtis.
> md582 wrote:
>> Hello,
>> do i need macports, or is it only for easy installing glib2 ? 
>> I tried to make mod_mono with "// sigaddset (&sigset, SIGPWR);", and
>> "--prefix=/Library/Frameworks/Mono.framework/Versions/Current", but
>> Apache does not start. And no error log.
>> I put my last mail at the end of this mail, with my detailed problem.....
>> Perhaps you could help me ? 
>> I dont understand why Apache makes no error log....
>> Do I have to recompile the Mono-Framework with "-m64" ?
>> Any Idea ?

View this message in context: http://www.nabble.com/Getting-Mono-to-work-with-Apache-in-Mac-OS-X-Leopard-tp24629121p24647372.html
Sent from the Mono - OSX mailing list archive at Nabble.com.

More information about the Mono-osx mailing list