LevelDB consistently crashes ghci on my system. (Mac OS X 10.6.8 running ghc 7.0.4). Note that LevelDB commands work fine when compiled into a binary by ghc.
Duplicate of #4: static linking seems to have some issues. Version 0.1.0 (to be pushed to hackage soon) will link against the shared lib version of LevelDB. Please build from git HEAD meanwhile.
LevelDB consistently crashes ghci on my system. (Mac OS X 10.6.8 running ghc 7.0.4). Note that LevelDB commands work fine when compiled into a binary by ghc.
$ ghci GHCi, version 7.0.4: http://www.haskell.org/ghc/ :? for help Loading package ghc-prim ... linking ... done. Loading package integer-gmp ... linking ... done. Loading package base ... linking ... done. Loading package ffi-1.0 ... linking ... done. package flags have changed, resetting and loading new packages... Prelude> :m Database.LevelDB Prelude Database.LevelDB> withLevelDB "/tmp/ldb" [CreateIfMissing] $ \db -> return () Loading package bytestring-0.9.1.10 ... linking ... done. Loading package filepath-1.2.0.0 ... linking ... done. Loading package leveldb-haskell-0.0.3 ... linking ... done. Segmentation fault