Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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 am trying to compile mono from source and am getting this error.

../src/.libs/libeglib.a(libeglib_la-gunicode.o): In function monoeg_g_get_charset': /opt/mono-2.10.1/eglib/src/gunicode.c:312: undefined reference tolocale_charset'

I am compiling it on centos5. I have compiled it before on other machines (Centos too) so I have no idea whats wrong.

share|improve this question
up vote 3 down vote accepted
  1. run ./configure

  2. go to eglib/

  3. open config.h and replace following string



share|improve this answer
This was needed also on Slackware 13.37 32bit. Thank you for the reply. – user117189 Apr 11 '12 at 19:23

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.