ld: error: undefined symbol: locale_charset The error is caused by the lack of -liconv which is not set up for base iconv. Temporary removing converters/libiconv allows to build.
*** This bug has been marked as a duplicate of bug 266241 ***