4

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.

Will
  • 257
  • 4
  • 19

1 Answers1

4
  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
  • This was needed also on Slackware 13.37 32bit. Thank you for the reply. –  Apr 11 '12 at 19:23