From: Marc W. <mar...@gm...> - 2006-03-19 04:30:08
|
I get this error after having compiled DB Direct with. Glasgow Haskell Compiler, Version 6.5.20060117, for Haskell 98, compiled by GHC version 6.5.20060117 with latest hs-plugins (from darcs) with cmdline : ghc -lz -fallow-undecidable-instances -fglasgow-exts --make -package haskelldb DBDirect.hs (alos tried without -lz) ./DBDirect fM mysql "serve r=localhost db=store uid=marc pwd=" DB/Direct: Daan Leijen (c) 1999, HWT (c) 2003-2004, Bjorn Bringert (c) 2005 Connecting to database... DBDirect: user error (loadShared: couldn't load `/usr/lib/libz.so' because /usr/lib/libz.so: invalid ELF header What might cause this error? Do you know how to fix it? |