Wednesday, 15 May 2013

haskell - GHC cannot find dynamic libraries - Could not find module ‘Data.Functor.Reverse’ -


GHCI-7.8.4 transformer will not load anything from the library because it did not find the GHCi file is . What is wrong?

  Prelude & gt; Import data. Factor Reverse & lieutenant; No location info & gt;: module 'data could not be found. Factor Again 'Maybe you have not installed the "dyn" libraries for the package' Transformers -0.4.3.0 '? Use -v to see the list of used files. Search for location: /home/jdm/.cabal/lib/transformers-0.4.3.0/ghc-7.8.4/Data/Functor/Reverse.dyn_hi  

Use the - enabled-shared option to install the cables.

If you want a dynamic library everywhere, keep shared: true in ~ / .cabal / config . You will need to compile all your libraries again.


No comments:

Post a Comment