cabal uses dynamic-linking for lifted-base

Kazu Yamamoto ( 山本和彦 ) kazu at
Tue Jun 18 08:38:14 CEST 2013


When I try to install libfted-base, cabal uses dynamic-linking while
it uses static-linking for other libraries. So, I got the following

	% cabal install lifted-base
	/usr/bin/ld: cannot find -lHSmonad-control-
	/usr/bin/ld: cannot find -lHStransformers-base-0.4.1-ghc7.7.20130616
	/usr/bin/ld: cannot find -lHSbase-unicode-symbols-

If I explicitly enable/disable dynamic-linking, lifted-base can be
installed. That is, the following two commands are valid:

	% cabal install lifted-base --enable-shared
	% cabal install lifted-base --disable-shared

Why dynamic-linking is used for lifted-base (only)?


More information about the ghc-devs mailing list