• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 412
  • Last Modified:

Mono Installation on RHE3

Hello,
 
I've been trying to install Mono on Red Hat Enterprise Linux 3.
So far I downloaded the rpms and installed them all using rpm -Uvh --nodeps --force *rpm.
 
Then I installed Apache 2.50 in a different location and was sucessfully able to configure and make the mod_mono.
 
The problem am facing is with building the ModMono.dll
mcs ModMono.cs -target:library -reference:/home/user/mono/install/lib/System.Web.dll
 
I found various System.Web.dll on my server and being not sure to use which one, I tried to build ModMono.dll using all of them one by one. But every time I am facing this problem:
 
usr/local/bin/mono: error while loading shared libraries: libc.so.0: cannot handle TLS data
 
Can anyone tell me if I've installed Mono correctly or there is some installation issue.
 
I've installed the rpms three time already, once using those of RH 9.0 and then of Fedora 2.
 
Thanks in Advance.
0
manojoswal
Asked:
manojoswal
1 Solution
 
jlevieCommented:
"rpm -Uvh --nodeps --force *rpm" was a mistake in a couple of ways. First of all you never use --nodeps and/or --force unless you have certain knowedge that any dependenancy errors can be ignored. In the general case that will only happen when you are re-installing a package that's been damaged in some way or when a package depends on an earlier/later version of something and you have certain knowedge that the installed package will work. Second it is very unlikely that something not built specifically for RHEL will work, especially when it is something like mono.

What you'll need to do is to build mono from the source distribution. You may find that you'll have to add some of the *-devel packages to your RHEL installation in order to build mono. The Apache server included in RHEL 3.0 is suitable for use with mono and you'd be better off building mod_mono against that copy of Apache.
0
 
manojoswalAuthor Commented:
Hello,

I got it working finally. There was a library missing and on top of that, the Documentation on the site was outdated. Hence couldn't get the module working with Apache.

Thanks for your comment.
0

Featured Post

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now