Moses-support Digest, Vol 92, Issue 43

Send Moses-support mailing list submissions to
moses-support@mit.edu

To subscribe or unsubscribe via the World Wide Web, visit
http://mailman.mit.edu/mailman/listinfo/moses-support
or, via email, send a message with subject or body 'help' to
moses-support-request@mit.edu

You can reach the person managing the list at
moses-support-owner@mit.edu

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Moses-support digest..."


Today's Topics:

1. Issue building Mosesserver (Jon Olds)
2. Re: Issue building Mosesserver (Maarten van Gompel)


----------------------------------------------------------------------

Message: 1
Date: Tue, 24 Jun 2014 12:40:01 +0100
From: Jon Olds <joft_uk@yahoo.co.uk>
Subject: [Moses-support] Issue building Mosesserver
To: moses-support <moses-support@mit.edu>
Message-ID: <53A96391.8070801@yahoo.co.uk>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hi,

I have tried to build Moses and Mosesserver using the following script.
It completes successfully, but although Moses runs, Mosesserver throws
the following error:

bin/mosesserver: error while loading shared libraries:
libxmlrpc_server_abyss++.so.8: cannot open shared object file: No such
file or directory

There are some very old references to this issue in the archives, but my
Linux knowledge is limited and have been unable to get the fixes to work.

Obviously, I can just download the binary if I get really desperate, but
the script used to work fine.

I am using Ubuntu 14.04.

Any help would be much appreciated,

Jon

sudo apt-get install g++ git subversion automake libtool zlib1g-dev
libboost-all-dev libbz2-dev liblzma-dev python-dev libtcmalloc-minimal
graphviz imagemagick ghostscript
mkdir tools
cd tools
mkdir fast-align
cd fast-align/
git clone https://github.com/clab/fast_align.git
cd fast_align/
mkdir ~/tools/external-bin-dir
make
cp fast_align ~/tools/external-bin-dir/
cd ~/tools/
mkdir irstlm
cd irstlm/
wget
http://switch.dl.sourceforge.net/project/irstlm/irstlm/irstlm-5.80/irstlm-5.80.03.tgz
tar xvzf irstlm-5.80.03.tgz
cd irstlm-5.80.03/
./regenerate-makefiles.sh
./configure --prefix=$HOME/tools/irstlm
make
sudo make install
cd ~/tools/
git clone git://github.com/moses-smt/mosesdecoder.git
REPOS=http://xmlrpc-c.svn.sourceforge.net/svnroot/xmlrpc-c/advanced

mkdir xmlrpc-c
svn checkout $REPOS xmlrpc-c
cd xmlrpc-c/
./configure
make
sudo make install
cd ../mosesdecoder/
./bjam --with-irstlm=/home/jon/tools/irstlm --with-xmlrpc-c=/usr/local
--with-boost=/usr/lib/x86_64-linux-gnu/


------------------------------

Message: 2
Date: Tue, 24 Jun 2014 13:56:25 +0200
From: Maarten van Gompel <proycon@anaproy.nl>
Subject: Re: [Moses-support] Issue building Mosesserver
To: Jon Olds <joft_uk@yahoo.co.uk>, "moses-support"
<moses-support@mit.edu>
Message-ID: <20140624115625.18554.60802@roma.anaproy.nl>
Content-Type: text/plain; charset="utf-8"

Hi Jon,

Quoting Jon Olds (2014-06-24 13:40:01)
> I have tried to build Moses and Mosesserver using the following script.
> It completes successfully, but although Moses runs, Mosesserver throws
> the following error:
>
> bin/mosesserver: error while loading shared libraries:
> libxmlrpc_server_abyss++.so.8: cannot open shared object file: No such
> file or directory

It looks as if one of the below mentioned packages is missing? Though I'm surprised
it compiled/linked in the first place then:

$ sudo apt-get install libxmlrpc-c++8 libxmlrpc-c++8-dev

Regards,

--

Maarten van Gompel
Centre for Language Studies
Radboud Universiteit Nijmegen

proycon@anaproy.nl
http://proycon.anaproy.nl
http://github.com/proycon

GnuPG key: 0x1A31555C XMPP: proycon@anaproy.nl
Bitcoin: 1BRptZsKQtqRGSZ5qKbX2azbfiygHxJPsd




Quoting Jon Olds (2014-06-24 13:40:01)
> Hi,
>
> I have tried to build Moses and Mosesserver using the following script.
> It completes successfully, but although Moses runs, Mosesserver throws
> the following error:
>
> bin/mosesserver: error while loading shared libraries:
> libxmlrpc_server_abyss++.so.8: cannot open shared object file: No such
> file or directory
>
> There are some very old references to this issue in the archives, but my
> Linux knowledge is limited and have been unable to get the fixes to work.
>
> Obviously, I can just download the binary if I get really desperate, but
> the script used to work fine.
>
> I am using Ubuntu 14.04.
>
> Any help would be much appreciated,
>
> Jon
>
> sudo apt-get install g++ git subversion automake libtool zlib1g-dev
> libboost-all-dev libbz2-dev liblzma-dev python-dev libtcmalloc-minimal
> graphviz imagemagick ghostscript
> mkdir tools
> cd tools
> mkdir fast-align
> cd fast-align/
> git clone https://github.com/clab/fast_align.git
> cd fast_align/
> mkdir ~/tools/external-bin-dir
> make
> cp fast_align ~/tools/external-bin-dir/
> cd ~/tools/
> mkdir irstlm
> cd irstlm/
> wget
> http://switch.dl.sourceforge.net/project/irstlm/irstlm/irstlm-5.80/irstlm-5.80.03.tgz
> tar xvzf irstlm-5.80.03.tgz
> cd irstlm-5.80.03/
> ./regenerate-makefiles.sh
> ./configure --prefix=$HOME/tools/irstlm
> make
> sudo make install
> cd ~/tools/
> git clone git://github.com/moses-smt/mosesdecoder.git
> REPOS=http://xmlrpc-c.svn.sourceforge.net/svnroot/xmlrpc-c/advanced
> mkdir xmlrpc-c
> svn checkout $REPOS xmlrpc-c
> cd xmlrpc-c/
> ./configure
> make
> sudo make install
> cd ../mosesdecoder/
> ./bjam --with-irstlm=/home/jon/tools/irstlm --with-xmlrpc-c=/usr/local
> --with-boost=/usr/lib/x86_64-linux-gnu/
> _______________________________________________
> 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


End of Moses-support Digest, Vol 92, Issue 43
*********************************************

Related Posts :

0 Response to "Moses-support Digest, Vol 92, Issue 43"

Post a Comment