[Jsonrpc-cpp-devel] "cannot find -ljson" on install of json-rpc
Brought to you by:
s-vincent
From: Sveinn V. <sv...@va...> - 2013-11-07 00:35:28
|
Hello, Checked out revision 275 of jsoncpp, installs without issues. Checked out revision 68 of json-rcp, gives the following error: <error> scons: Building targets ... g++ -o libjsonrpc.so -shared src/jsonrpc_handler.os src/jsonrpc_server.os src/jsonrpc_client.os src/jsonrpc_udpserver.os src/jsonrpc_tcpserver.os src/jsonrpc_udpclient.os src/jsonrpc_tcpclient.os src/netstring.os src/system.os src/networking.os src/jsonrpc_httpclient.os -ljson -lcurl -lpthread /usr/bin/ld: cannot find -ljson collect2: ld returned 1 exit status scons: *** [libjsonrpc.so] Error 1 scons: building terminated because of errors. </error> I am following the instructions for JsonRpc-Cpp here http://jsonrpc-cpp.sourceforge.net/index.php?n=Doc.UserDocumentation (revision 68) the only dependency listed is for scons and JsonCpp, JsonCpp I got here http://jsonrpc-cpp.sourceforge.net/index.php?n=Doc.FAQ (revision 275) It would appear to me that the json library "-ljson" should be installed with JsonCpp, but isn't - at least not in a way g++ can find it. Don't know my way around scons, any suggestions on where to look for the missing library? Thanks!! Sveinn "Swain" Valfells London, UK |