• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 420
  • 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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Office 2010

This course will introduce you to the interfaces and features of Microsoft Office 2010 Word, Excel, PowerPoint, Outlook, and Access. You will learn about the features that are shared between all products in the Office suite, as well as the new features that are product specific.

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