cabal uses dynamic-linking for lifted-base

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


Hi,

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

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

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)?

--Kazu







More information about the ghc-devs mailing list