[Mono-list] mod_mono ELF class Error

Robert Jordan robertj at gmx.net
Thu Aug 9 12:36:19 EDT 2007


Roberto Zenteno wrote:
> Hi,
> I have an ASP.NET application running on mono-1.2.2.1-0 and I tried to
> migrate it to a dell server 2900 with a 64-bit architecture, but I have a
> problem with mod_mono, when I try to start apache I get this error:
> 
> Syntax error on line 8 of /etc/apache2/conf.d/mod_mono.conf: Cannot load
> /usr/lib/apache2/mod_mono.so into server: /usr/lib/apache2/mod_mono.so:
> wrong ELF class: ELFCLASS32
> 
> I'm using Open Suse 10.2 for X86-64 and mono-1.2.4-3.
> 
> Have you any Idea what is wrong?

Since your mod_mono.so seems to be a 32-bit library, it cannot be loaded
by a 64-bit apache.

You need to recompile mod-mono.

Robert



More information about the Mono-list mailing list