Ian Lynagh <[EMAIL PROTECTED]> wrote:
> Running
>     ghc-pkg describe rts
> will show you library-dirs, amongst other things.

Ah, ok.  Well, the gmp library directory is indeed listed there.  But
what exactly is ghc supposed to do with it?  From the behavior I'm
seeing, it looks like it passes -L<dir> to the linker, but not
-Xlinker -R<dir>.  pwd gets compiled and linked just fine; it only
complains when it runs.  The *dynamic* linker can't find libgmp.so,
since it isn't in a systemwide library directory, and pwd wasn't
linked with -Xlinker -R<dir>.


paul
_______________________________________________
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to