[Haskell-cafe] Perhaps you haven't installed the "dyn" libraries

Alexander Dunlap alexander.dunlap at gmail.com
Tue Dec 29 14:45:58 EST 2009


On Tue, Dec 29, 2009 at 11:34 AM, Gregory Propf <gregorypropf at yahoo.com> wrote:
>
> I'm trying out the dynamic linking in GHC 6.12 and getting this message a lot for different libraries.  I assume I need to rebuild them with different ghc options in the cabal files and have tried -shared, -dynamic and -fPIC but with no luck.  Is there something I'm missing.
>
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>

Use the --enable-shared option to cabal install. If you want dynamic
libraries everywhere, put shared: True in ~/.cabal/config. You'll need
to recompile all of your libraries.

Alex


More information about the Haskell-Cafe mailing list