
Hello all,
After manually specifying where to find the appropriate include and
library directories for the dbxml distribution, I succeeded to install
both the BerkeleyDB and the BerkeleyDBXML Haskell bindings. They both
nicely show up in `ghc-pkg list'.
But when I try to compile my own test or the demo program included in
the BerkeleyDBXML package it will kindly present me a dozen or so
pages of linking errors. The top lines are:
Undefined symbols:
"std::basic_string

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? Martijn.
participants (2)
-
Martijn van Steenbergen
-
Sebastiaan Visser