bzip2 is an optional dependency. So is xz-utils. If people are getting compilation errors related to bzip2 being detected but insufficiently present, let me know.
I think the problem here was that Boost was compiled against zlib and bzip2 headers from one version then linked against zlib and bzip2 libraries from a different version. Kenneth On 11/01/12 20:10, Tom Hoar wrote: > We keep a list of dependencies on our website at: > > http://www.precisiontranslationtools.com/products/software-requirements-domt-desktop/ > > We just added the Debian package "bzip2", which includes the "libbz2" > you found. Thank you. On Debian/Ubuntu, the "libz" package is > "zlib1g-dev". I believe the list is complete for Linux Debian/Ubuntu. > > We're happy to maintain the dependency list for other Linux/MacOSX/Posix > distros. Please contact me if you have information and we can update the > site. > > Tom > > On 2012-11-01 23:37, Thuong Minh Bui wrote: > >> Thanks. I found out that after installing libz and libbz2 before >> reinstalling boost helped solve the error. >> >> >> Thank you all very much for your support. >> >> Best regards, >> Thuong >> >> >> On Thu, Nov 1, 2012 at 3:07 PM, Kenneth Heafield <[email protected] >> <mailto:[email protected]>> wrote: >> >> We're not hard-coding the rpath, so you need to set >> >> export LD_LIBRARY_PATH=/scratch/tbui/tools/local/lib64/ >> >> in your environment before running the compiled executables. Note that >> the command I gave is for bash on Linux. Your shell may have different >> syntax. Mac OS X calls it something else. >> >> Kenneth >> >> On 11/01/12 01:29, Hieu Hoang wrote: >> > hmm, it works for me, but this is quite a difficult problem to >> debug for >> > other people. >> > >> > what OS are you working on? 32 or 64 bit? >> > >> > try renaming the file >> > lib/*boost_iostreams*/-mt.* >> > to >> > lib/*boost_iostreams*/.* >> > >> > also, try renaming the directory >> > lib >> > to >> > lib64 >> > >> > On 31/10/2012 17:44, Thuong Minh Bui wrote: >> >> Dear all, >> >> I am installing Moses 0.91 with boost 1.51 and run into the error: >> >> /*/usr/bin/ld: cannot find -lboost_iostreams*/ >> >> I installed boost with the following command: >> >> >> >> /./b2 --prefix=/scratch/tbui/tools/local --libdir=$LIBDIR >> >> --layout=tagged link=static,shared threading=multi,single install/ >> >> where /$LIBDIR=///scratch/tbui/tools/local/lib64/ >> >> / >> >> / >> >> Moses was installed with the following command: >> >> >> >> .//bjam --with-irstlm=/scratch/tbui/tools/local >> >> --with-giza=/scratch/tbui/tools/external-bin-dir >> >> --with-boost=/scratch/tbui/tools/local >> >> --prefix=/scratch/tbui/tools/local -j8/ >> >> >> >> Does anyone know what's the problem? >> >> >> >> Best regards, >> >> Thuong. >> >> >> >> >> >> _______________________________________________ >> >> 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] <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
