Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

up vote 2 down vote accepted
  1. run ./configure

  2. go to eglib/

  3. open config.h and replace following string

    #define HAVE_LOCALCHARSET_H 1

by

 #define HAVE_LOCALCHARSET_H 0
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

 
discard

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.