Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have an application that breaks on mono 2.10, so I'm trying to install an older mono instead.

I found an RPM and tried to install it, but it won't install (I believe) because the glibc and gcc versions that are on CentOS 6.3 are too high. (it actually says it lacks the dependencies for GLIBC_2.7 and GCC_3.3.1 even though I have versions 2.12 and 4.4 installed as part of CentOS 6.3, so I can only assume it's a problem because they're too high)

How should I proceed?

share|improve this question

Compile your desired version of Mono from source instead of relying on a pre-built pacakge.

share|improve this answer
I get 1/3rd of the way down the list and then it says "Package glib-2.0 was not found in the pkg-config search path". Same with gthread-2.0 – conners Sep 12 '12 at 15:11
This does seem to help, but I had to install gtk2-devel first (yum install gtk2-devel) – conners Sep 12 '12 at 15:53
Try following this guide - wiki.phonicuk.com/Installing-Mono-in-CentOS-5-x.ashx - I wrote it originally for CentOS 5 but it works for CentOS 6 and just about any version of Mono from 2.6 onwards. – PhonicUK Sep 12 '12 at 20:42
thank you I'll take a look I'd love to tell you how I got on but sadly I won't be able to because I won't be part of this forum any more – conners Sep 13 '12 at 14:19

Download the source rpm and then rpmbuild --rebuild mono-XX.XX.src.rpm and it should dump finished rpms with your libraries in /usr/src/redhat/RPMS/.

share|improve this answer
thanks for the help aaron but please read up – conners Sep 13 '12 at 14:20

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.