ghc packages for interactive use

Johannes Waldmann joe@isun.informatik.uni-leipzig.de
Tue, 4 Sep 2001 08:36:03 +0200 (MET DST)


How can I configure a ghc package for use with ghci?
what file does the linker try to load, and what is expected as contents?

is it libHSmypackage.so? do I have to set LD_LIBRARY_PATH manually?
I'm getting relocation errors when I just collect all the object files 
(which works for libHSmypackage.a):

...
Loading package data ... linking ... done.
Loading package frantk ... ghc-5.00.2: can't find .o or .so/.DLL for: HSfrantk (ld.so.1: /u/joe/built/lib/ghc-5.00.2/ghc-5.00.2: fatal: relocation error: file /home/joe/built/lib/frantk/libHSfrantk.so: symbol PrelBase_const_closure: referenced symbol not found)

Best regards,
-- 
-- Johannes Waldmann ---- http://www.informatik.uni-leipzig.de/~joe/ --
-- joe@informatik.uni-leipzig.de -- phone/fax (+49) 341 9732 204/252 --