i remember having this problem on my mac.

i think i solved it but installing macports and installing libiconv using macports. However, it was a while ago so i can't remember

On 02/05/2014 14:49, Catherine Gasnier wrote:
Dear Moses developer,

I ran into a problem similar to the one reported here: https://www.mail-archive.com/moses-support%40mit.edu/msg08431.html, i.e. I get this error message

> Undefined symbols for architecture x86_64:
>   "_iconv_open", referenced from:
>       File::fgetsUTF8(char*, int) in libmisc.a(File.o)
>   "_iconv", referenced from:
>       File::fgetsUTF8(char*, int) in libmisc.a(File.o)
>   "_iconv_close", referenced from:
>       File::~File() in libmisc.a(File.o)
> ld: symbol(s) not found for architecture x86_64
> collect2: error: ld returned 1 exit status

after running./bjam -a --with-macports 
--with-srilm=/Users/catherinegasnier/EPFL/NLP/srilm



I pulled moses with git 
fromhttps://github.com/moses-smt/mosesdecoder.git.Unless I am mistaken, the 
thread about this error did not provide any solution. Did you finally solve 
this problem?
I have attached my build.log



Catherine Gasnier
PhD Student in Computer Science
EPFL, INF326
Station 14
1015 Lausanne
+41 21 693 42 43
+41 78 914 38 48


_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to