Hi Roee: Last time when I did it, the link flag I used was:
-L/usr/local/lib -Wl,-Bstatic -lxmlrpc_server_abyss++ -lxmlrpc_server++ -lxmlrpc_server_abyss -lxmlrpc_server -lxmlrpc_abyss -lxmlrpc_xmlparse -lxmlrpc_xmltok -lxmlrpc++ -Wl,-Bdynamic -lpthread -lxmlrpc -lxmlrpc_util -Wl,--as-needed Hopefully it can solve your problem. 2014-1-18 上午10:18于 "Roee Aharoni" <[email protected]>写道: > Hi all, > > I'm having trouble when running mosesserver: after setting the > LD_LIBRARY_PATH environment to include the path where the relevant xmlrpc-c > libraries are, the compilation and linking phase is passing fine. > However, while trying to run the moses-server executable, it fails with > runtime error after loading the model, which is "symbol not found for the > function call : *xmlrpc_server_abyss_set_handler3() > <http://xmlrpc-c.sourceforge.net/doc/libxmlrpc_server_abyss.html#set_handler3>"* > We checked the relevant abyss++ library and this symbol really appears in > the library as undefined. > We suspect this happens due to one of the following reasons: > > [1] some library which does contain the symbol is missing and its path > should be added to the LD_LIBRARY_PATH > [2] there is some problems with the procedure of building and installing > the xmlrpc-c package. > [3] there are issues with the xmlrpc-c-config which does not configures > the parameters correctly. > > If anyone has met these conditions and solved it or has an explanation of > the xmlrpc libraries which should be used and how, we would appreciate any > help. > > Thanks, > > _______________________________________________ > 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
