title: undefined reference to `explain_read' ...... No such file or directory
body: <p>I need to include <code>libexplain</code> to my project to do certain job. I install it and add the header <code>libexplain/read.h</code> to my code, so far so good and no error reported by the complier. But when I use the function <code>explain_read()</code> provided by <code>libexplain</code> and build the project it says:</p>
  
  <pre><code>/tmp/cc7NjAw0.o: In function `xl45_read(int, unsigned char*)':
  connections.cpp:(.text+0x2f): undefined reference to `explain_read'
  collect2: error: ld returned 1 exit status
  </code></pre>
  
  <p>and the build script is:</p>
  
  <pre><code>#!/bin/bash
  
  echo &gt; ./stdafx.h
  g++ -O1 -Wall -o ./local_proxy (*.cpp...here is the source file list) -lz -lpthread -lpcap -L/usr/local/lib
  </code></pre>
  
  <p>actually when I type</p>
  
  <pre><code>whereis libexplain 
  </code></pre>
  
  <p>in terminal, I get</p>
  
  <pre><code>libexplain: /usr/lib/libexplain.so /usr/lib/libexplain.a /usr/include/libexplain
  </code></pre>
  
  <p>I do a lot of searches and still have no idea what's going wrong. ): </p>