On Tue, Dec 29, 2009 at 11:34 AM, Gregory Propf <gregorypr...@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@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 _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe