title: Haskell package linker error: can't load .so/.DLL for: clang
body: <p>i guys i have a problem, i want to run a haskell script that imports libClang (<code>import Clang</code>), i made a <code>cabal install libClang</code> befor and it work</p>
  
  <p>now when i make <code>runhaskell foo.hs</code> i get:</p>
  
  <pre><code>foo.hs: &lt;command line&gt;: can't load .so/.DLL for: clang (libclang.so: cannot open shared object file: No such file or directory)
  </code></pre>
  
  <p>i know that i have to add the library path to <code>LD_LIBRARY_PATH</code> so i add some paths to it because i dont know exactly which i have to use (should i use the lib path to the clang/llvm path or the lib path to the .cabal dir where my LibClang-9.0.0 is?)</p>
  
  <p>so i got:</p>
  
  <pre><code>echo $LD_LIBRARY_PATH 
  /home/foo/Downloads/clang+llvm-2.9-i686-linux/lib:/home/foo/.cabal/lib
  </code></pre>
  
  <p>after running runhaskell again, the same problem still extists, what should i do?</p>