Flags in GHCi

Koen Claessen koen at cs.chalmers.se
Wed Oct 3 09:43:36 EDT 2001


Hi,

I noticed a difference in behavior between running:

  > ghci -package utils

And:

  > ghci
  ...
  Prelude> :set -package utils

On our system, the first one works (it finds all the right
dynamic libraries and stuff), but the second one doesn't (it
cannot find libreadline.so, and other dynamic libraries).

This is strange behavior, not to call it a bug.

It might be because the first case looks for files called
"*.so.1", the second case for files called "*.so", but I am
not sure. (Moreover, I do not understand the difference
between these files anyway.)

/Koen.





More information about the Glasgow-haskell-bugs mailing list