[Mono-list] mod_mono ELF class Error
Robert Jordan
robertj at gmx.net
Thu Aug 9 12:47:55 EDT 2007
Robert Jordan wrote:
> 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.
On my SLES systems, the 64-bit apaches modules reside in
/usr/lib64/apache2/
Maybe it's sufficient to adjust mod_mono.conf accordingly.
Robert
More information about the Mono-list
mailing list