Hi Hieu
Thanks for the reply. Using link=shared sorted out that error. However, there are some new errors, for which I couldn't find reference by searching the list and web. For example: /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld: /home/me/moses/tools/srilm/lib/i686-m64/liboolm.a(Vocab.o): relocation R_X86_64_32 against `Vocab::compare(unsigned int, unsigned int)' can not be used when making a shared object; recompile with -fPIC/home/me/moses/tools/srilm/lib/i686-m64/liboolm.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
/home/me/moses/tools/boost/include/boost/program_options/detail/value_semantic.hpp:58: undefined reference to `boost::program_options::validation_error::validation_error(boost::program_options::validation_error::kind_t, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
Best Regards,Rasul.

-------------------------
 FROM: Hieu Hoang <[email protected]>
 TO: [email protected]
 SENT: Saturday, December 10, 2011 3:33 AM
 SUBJECT: Re: [Moses-support] Cannot find -lboost_thread-mt

hi rasul

try using shared linking
   ./bjam link=shared ...
it may be that the static library for thread-mt isn't installed on you
computer.

The static version has the name
    libboost_thread-mt.a
the shared version is
    libboost_thread-mt.so

or if you don't need threading, turn it off
   ./bjam threading=single ...

On 10/12/2011 05:13, [email protected][1] wrote:
Hi all,

I have been trying to install the latest version of Moses with latest
version of SRILM, Giza++ and boost (1.48.0), but not with IRSTLM as I
didn't manage to install it. The problem is that I receive this an
error in several stages which says: "... Cannot find
-lboost_thread-mt" and fails the installation. I was wondering if
anybody has some idea of what could the reason be. Here are some facts
about my installation:

- I'm not using --with-IRSTLM option
- I'm installing everything in non-standard directories as I don't
have admin permission (but following hints on both boost and Moses
installation guidelines regarding this matter)
- The platform is OpenSuse
- I'm new to Moses
- Anything else needed to be clarified??

Best Regards,
Rasul.
_______________________________________________
Moses-support mailing list
[email protected][2]
http://mailman.mit.edu/mailman/listinfo/moses-support[3]

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

Links:
------
[1] mailto:[email protected]
[2] mailto:[email protected]
[3] http://mailman.mit.edu/mailman/listinfo/moses-support
[4] mailto:[email protected]
[5] 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