Moses Support Digest:problem running mosesserver

[Moses-support] problem running mosesserver

Hi,
I have installed moses adding xmlrpc-c and boost library locations to the configuration file.

i can run and use properly mosesmt , but when I run mosesserver i got this error:
./mosesserver: error while loading shared libraries:
libxmlrpc_server_abyss++.so.6: cannot open shared object file: No such file or directory

but this library is present in /usr/local/lib. I’m using xmlrpc-c version 1.20.3 on a 64bit machine.

I try to recompile only the mosesserver:

g++ -DHAVE_CONFIG_H -I. -I. -I.. -W -Wall -I../moses/src
-I/usr/local/include -I/usr/local/lib -pthread -I/usr/local/boost//include
-DWITH_THREADS -I/home/turchmo/Libraries/srilm//include -g -O2 -MT
mosesserver-mosesserver.o -MD -MP -MF “.deps/mosesserver-mosesserver.Tpo” -c
-o mosesserver-mosesserver.o

g++ -g -O2 -L/home/turchmo/Libraries/srilm//lib/i686-m64 -o mosesserver
mosesserver-mosesserver.o -L../moses/src -lmoses -L/usr/local/boost//lib
-L/usr/local/lib -lxmlrpc_server_abyss++ -lxmlrpc_server++
-lxmlrpc_server_abyss -lxmlrpc_server -lxmlrpc_abyss -lpthread -lxmlrpc++
-lxmlrpc -lxmlrpc_util -lxmlrpc_xmlparse -lxmlrpc_xmltok -lboost_thread
-loolm -ldstruct -lmisc -lz

the executable file is created but I still have this problem.

I also add these environment variables:
1) XMLRPC_C_LIBS=”/usr/local/lib”
2) LD_LIBRARY_PATH=”/usr/local/boost/lib/”
without any advantages

Do u have any ideas?

Thanks in advance
Marco


Re:[Moses-support] problem running mosesserver

Hi Marco

Running ldconfig might help. Or add /usr/local/lib to your LD_LIBRARY_PATH

best regards
Barry

Re:[Moses-support] problem running mosesserver

thanks a lot
I works now

Cheers
Marco

NOTICE:This is digested from the Moses-support mailing list, which supports for the moses SMT decoder.

Related posts:

  1. Moses Support Digest:running giza in parts
  2. Moses Support Digest:About giza++ options when running moses
  3. Moses Support Digest:Binarized SRILM
  4. Moses Support Digest:Moses compilation problem on fedora 11
  5. Moses Support Digest:CreateBerkeleyPt and On-Disk Rule Table
  6. Moses Support Digest:compiling moses 3 chart
  7. Moses Support Digest:moses threads compilation problem with RandLM
  8. Moses Support Digest:Is reordering model a must-be-used component to use?
  9. Moses Support Digest: moses-irstlm memory racing with 5-gram lm
  10. Moses Support Digest:mt3_chart compilation error
This entry was posted in Moses, SMT and tagged , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>