FFI, Ghc and Libs

Dominik Oesterreich dominik at oesterreichnet.de
Mon Aug 2 11:21:33 EDT 2004

i have one Problem with ghc (and FFI).
I wrote some functions in C and compiled that file. After that I typed:
ghci -fffi komplett.obj test.lhs -l apr.lib
and got the following error meassage:

Loading package base ... linking ... done
Warning: ignoring unrecognised input 'apr.lib'
Loading object (static) kompett.obj ... done
Loading object (dynamic) ... failed.
Dynamic Linker error message was: 
    addDLL: unknown error
Whilst trying to load (dynamic)
Directories to search are:
ghc.exe: user specified .o/.so/.DLL could not be loaded
I have to use different Libraries from Subversion (subversion.tigris.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org//pipermail/glasgow-haskell-users/attachments/20040802/5632a208/attachment.htm

More information about the Glasgow-haskell-users mailing list