[SRILM User List] srilm 1.7.1 Installation error

منال 435203785 at student.ksu.edu.sa
Sat Jul 16 04:28:17 PDT 2016


Alsalam Aliokum

I am maser student and want to install the srilm 1.7.1  to build n-gram and i not familiar with c++ I know only the java.I am download the project folder and follow the instruction for installation but I am face error when i run the make World command in terminal

:here the last output of terminal

Undefined symbols for architecture x86_64:

  "_libiconv", referenced from:

      File::fgetsUTF8(char*, int) in libmisc.a(File.o)

  "_libiconv_close", referenced from:

      File::~File() in libmisc.a(File.o)

      File::reopen(char const*, char const*) in libmisc.a(File.o)

      File::reopen(char const*) in libmisc.a(File.o)

      File::reopen(char const*, unsigned long, int) in libmisc.a(File.o)

      File::reopen(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&, int) in libmisc.a(File.o)

  "_libiconv_open", referenced from:

      File::fgetsUTF8(char*, int) in libmisc.a(File.o)

ld: symbol(short) not found for architecture x86_64

clang: error: linker command failed with exit code 1 (use -void to see invocation)

test -f ../bin/macosx-m64/ngram

make[2]: *** [../bin/macosx-m64/ngram] Error 1

make[1]: *** [release-programs] Error 1

make: *** [World] Error 2

My OS is :mac 10.9.5

:The GCC version

Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/usr/include/c++/4.2.1

Apple LLVM version 6.0 (clang-600.0.57) (based on LLVM 3.5svn)

Target: x86_64-apple-darwin13.4.0

Thread model: posix

:The make version

GNU Make 3.81

Any suggestion or recommendation for solving my problem

I appreciate any help

Thanks a lot

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.speech.sri.com/pipermail/srilm-user/attachments/20160716/b57a850b/attachment.html>

More information about the SRILM-User mailing list