title: linking jsoncpp on Ubuntu
body: <p>I try to use jsoncpp library with c++ on Ubuntu.
  I compiled the code and built the library with scons.
  Now I can compile a simple programme:</p>
  
  <pre><code>#include "json/json.h"
  #include &lt;json/value.h&gt;
  #include &lt;json/writer.h&gt;
  int main()
  {
      return 0;
  }
  </code></pre>
  
  <p>I use this command to compile:</p>
  
  <pre><code>g++ test.cpp -usr/lib/libjson_linux-gcc-4.8_libmt
  </code></pre>
  
  <p>I conclude that the compiler knows where to find the library.
  The problem comes when I declare a json object:</p>
  
  <pre><code>Json::Value root;
  </code></pre>
  
  <p>Then I have this error message:
  undefined reference to « Json::Value::Value(Json::ValueType) »</p>
  
  <p>How can I fix this problem?</p>