title: Pydev: Where do I have to add the path for an external lib (usr/local/mysql/lib/libmysqlclient)?
body: <p>I use mysqldb and pydev eclipse. I successfully compiled mysqldb 1.23 and now I would like to import it. mysqldb 1.23 needs the library libmysqlclient.18.dylib which lies in my case in /usr/local/mysql/lib. So when I start my test program in eclipse it crashes since it does not find the correct library. Therefore I need to tell eclipse where to find the libs.</p>
  
  <p>How do I do this my case?</p>
  
  <p>What and where in eclipse/pydev do I have to tell it that libmysqlclient.18.dylib resides in the above directoy?</p>
  
  <p>The error message I get</p>
  
  <pre><code>ImportError: dlopen(/path/to/.python-eggs/MySQL_python-1.2.3-py2.7-macosx-10.6-intel.egg-tmp/_mysql.so, 2): Library not loaded: libmysqlclient.18.dylib
    Referenced from: /path/to/.python-eggs/MySQL_python-1.2.3-py2.7-macosx-10.6-intel.egg-tmp/_mysql.so
    Reason: image not found
  </code></pre>