Installing Mono creates errors

BlueNoteWeb

Verified User
Joined
Nov 4, 2004
Messages
52
Location
Denton, TX
I'm trying to get Mono installed on a DA server and running into a problem that's beyond my expertise.

I did find a how-to on the forum:
http://www.directadmin.com/forum/showthread.php?t=11709
I really prefer not to install from source when I can install from Yum - makes things easier later. Mono has a yum repo available on their site. After installing that I used:
Code:
yum install mono*
yum install xps*
yum install mod_mono

Everything appeared to work fine.

I then followed the instructions in the above tutorial about updating httpd.conf to make httpd recognize the new stuff. When I restart httpd I get this error:
Syntax error on line 8 of /etc/httpd/conf.d/mod_mono.conf:
Cannot load /usr/lib/httpd/modules/mod_mono.so into server: /usr/lib/httpd/modules/mod_mono.so: undefined symbol: apr_pool_cleanup_null

A quick google turned up this page:


Looks like the APR available to me through yum was a .9 version, while there's a 1.2.x available. I couldn't find that version anywhere through yum so I did install it from source - same error.

Any idea what to check next?
 
Chris, thanks for the reply.

Here's the top of the mod_mono.conf, line 8 is the last line I copied:
Code:
# mod_mono.conf

# Acthung! This file may be overwritten
# Use 'include mod_mono.conf' from other configuration file
# to load mod_mono module.

<IfModule !mod_mono.c>
    LoadModule mono_module /usr/lib/httpd/modules/mod_mono.so

I had to uninstall all of this last week so the server could still be up and running, but I've re-installed this morning. I still get the same error.
 
Back
Top