For the SRILM error, please follow step 9 of SRILM's install
instructions.  Do a clean untar of SRILM, fix the broken machine-type as
instructed in BUILD-INSTRUCTIONS.txt then build with:

make MAKE_PIC=yes

For the Boost program options error, are you sure you have only one copy
of Boost installed?

On 12/10/11 13:17, [email protected] wrote:
> 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]
> <mailto:[email protected]>>
> *To:* [email protected] <mailto:[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] <mailto:[email protected]> 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] <mailto:[email protected]>
>> http://mailman.mit.edu/mailman/listinfo/moses-support
>>
> _______________________________________________
> Moses-support mailing list
> [email protected] <mailto:[email protected]>
> http://mailman.mit.edu/mailman/listinfo/moses-support
> 
> 
> 
> _______________________________________________
> 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