Did you compile moses on the same machine as you're running on?

What was the exact command you used to compile? If you included the argument
   --with-boost=....
then it would have linked to the boost library in that path, instead of the
1 in the system directory.

There's 2 solutions.
   1. recompile, but statically link to the boost library in the
--with-boost path. To do this:
         a. add --static when running bjam
         b. delete all the .so files in your --with-boost directory
   2. if you have the header files and libraries in your systems directory,
don't use --with-boost argument when running bjam,

If you are sure you have the boost library and header files installed in
the system paths

On 2 July 2013 10:29, Dimitris Mavroeidis <[email protected]> wrote:

> Hi all,
>
> I have succesfully compiled moses' latest version from github, but came
> accross this error when running "symal" through "ems":
>
>
> *****************************************************************************************************************
> Executing: /share/apps/mosesdecoder/scripts/training/giza2bal.pl -d
> "gzip -cd /data/dmavroeidis/work/76/training/giza.1/en-el.A3.final.gz"
> -i "gzip -cd
> /data/dmavroeidis/work/76/training/giza-inverse.1/el-en.A3.final.gz" |
> /share/apps/mosesdecoder/scripts/../bin/symal -alignment="grow"
> -diagonal="yes" -final="yes" -both="yes" >
> /data/dmavroeidis/work/76/model/aligned.3.grow-diag-final-and
> /share/apps/mosesdecoder/scripts/../bin/symal: error while loading
> shared libraries: libboost_system-mt.so.5: cannot open shared object
> file: No such file or directory
> Exit code: 127
> ERROR: Can't generate symmetrized alignment file
>
> *****************************************************************************************************************
>
> I have checked some common causes found in many online resources:
> - The library exists in /usr/lib64 (not symlinked).
> - $LD_LIBRARY_PATH includes the path above.
>
> These are my system's os and libraries versions:
> OS: CentOS 6
> Boost library version: 1.41.0-17
> gcc version: 4.4.7-3
>
> I would appreciate some insight on this!
>
> Best regards,
> Dimitris
> _______________________________________________
> Moses-support mailing list
> [email protected]
> http://mailman.mit.edu/mailman/listinfo/moses-support
>



-- 
Hieu Hoang
Research Associate
University of Edinburgh
http://www.hoang.co.uk/hieu
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to