what was the exact command you used to create the moses binaries? If you compiled your own boost libraries, what was the exact command you used to create the boost libraries?

The error means you don't have the RIGHT boost library. I would recommend creating static boost libraries only so that they are included in the moses executable, rather than having to be loaded separately.

The install page here tells you how to do that
   http://www.statmt.org/moses/?n=Development.GetStarted

On 21/09/2016 13:59, Pablo Gonzalez wrote:
Thank you very much for your quick response last time, I decided to switch to Linux and could finally compile Moses, however, after installing all of the dependencies, when I try to run the tutorial
~/mosesdecoder/bin/moses -f phrase-model/moses.ini < phrase-model/in > out

It fails with error message

/home/pablo/mosesdecoder/bin/moses: error while loading shared libraries: 
libboost_serialization.so.1.59.0:
cannot open shared object file: No such file or directory

I thought this meant I didn't have the whole libboost installed or up to date 
but when I run

$ sudo apt-get install libboost-all-dev

I get

Reading package lists... Done
Building dependency tree
Reading state information... Done
libboost-all-dev is already the newest version (1.58.0.1ubuntu1).
0 upgraded, 0 newly installed, 0 to remove and 153 not upgraded.

So it seems to be all there and up to date, am I supposed to tell Moses how to 
find it and if so how?
Anyone know how to deal with this? I would really appreciate it
Thanks
Pablo Gonzalez


_______________________________________________
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support

_______________________________________________
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to