title: re2 library loading
body: <p>I am using the following code to test google's RE2 library</p>
  
  <pre><code>int main()
  {
    int r = RE2::FullMatch("hello", "h.*o");
    cout &lt;&lt;" match = " &lt;&lt; r &lt;&lt; endl;
    return 0;
  }
  </code></pre>
  
  <p>I am compling using the following command -</p>
  
  <pre><code>g++ -lre2 -o retest retest.cc
  </code></pre>
  
  <p>It is compiling fine, but when I am trying to run retest with ./retest its throwing the following error -</p>
  
  <pre><code>error while loading shared libraries: libre2.so.0: cannot open shared object file: No such file or directory
  </code></pre>
  
  <p>I have  checked and libre2.so.0 library does exist at user/local/lib directory and re2/obj/so directory. So why is this error coming am I forgetting some detail to add ?</p>