Hi, I just figured out the problem. In fact, I didn't have libboost_thread-mt.so and libboost_thread-mt.a files installed in my library path. There were only libboost_thread.so and libboost_thread.a.
To sort it out, I installed boost with --layout=tagged option (in ./b2) and it generated those *mt files. More information is available using ./b2 --help. Best Regards, Rasul. Quoting [email protected]: > Hi again Hieu, > > I installed Boost with option threading=multi, but it seems there is > no libboost_thread-mt.so nor libboost_thread-mt.a generated. What > could the problem be you think. The Boost version is 1.48.0 (last > version). > > Regards, > Rasul. > > Quoting Hieu Hoang <[email protected]>: > > i think this is the same problem as > http://article.gmane.org/gmane.comp.nlp.moses.user/5714 > > can i ask if you're on 32 or 64 bit machine, and if and where you can > locate the files > libboost_thread-mt.so > libboost_thread-mt.a > on your pc. > > slightly teething trouble with the new bjam build > > Quoting Hieu Hoang <[email protected]>: > >> 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] 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] >>> 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 > _______________________________________________ Moses-support mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/moses-support
