title: ctypes doesn't find fink-installed libraries in /sw/lib
body: <p><code>ctypes</code> isn't finding libraries installed via fink, which live under <code>/sw/lib/</code>, unless I explicitly give the full path to the libraries</p>
  
  <pre><code>&gt;&gt;&gt; import ctypes
  &gt;&gt;&gt; ctypes.CDLL('libgoffice-0.8.dylib')
  Traceback (most recent call last):
    File "&lt;stdin&gt;", line 1, in &lt;module&gt;
    File "/sw/lib/python2.7/ctypes/__init__.py", line 353, in __init__
      self._handle = _dlopen(self._name, mode)
  OSError: dlopen(libgoffice-0.8.dylib, 6): image not found
  &gt;&gt;&gt; ctypes.CDLL('/sw/lib/libgoffice-0.8.dylib')
  &lt;CDLL '/sw/lib/libgoffice-0.8.dylib', handle 336500 at 2b10b0&gt;
  &gt;&gt;&gt;
  </code></pre>
  
  <p>Compilation against these libraries with <code>gcc</code>, however, works fine; they are always found. Why isn't <code>ctypes</code> locating these libraries, and what can I do to make it locate them?</p>
  
  <p>This is on OS X 10.6.8 with fink-installed Python 2.7 under <code>/sw/bin/python2.7</code>.</p>