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?


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

  • 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
  • 1
    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/.

  • thanks for the help aaron but please read up – conners Sep 13 '12 at 14:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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