BerkeleyDBXML linking problems.

Martijn van Steenbergen martijn at
Sat Jun 27 04:57:04 EDT 2009

Sebastiaan Visser wrote:
> Do I have to tell GHC where to find the original dbxml libraries when 
> compiling my BerkeleyDBXML aware Haskell programs?

In order to cabal install readline I had to add one or more of the 
following lines to my ~/.profile:

export INCLUDE_PATH=/opt/local/include
export C_INCLUDE_PATH=/opt/local/include
export LIBRARY_PATH=/opt/local/lib
export LD_LIBRARY_PATH=/opt/local/lib

Does it help if you do something similar for your libraries?


More information about the Libraries mailing list