[Bug 1118678] pandoc linked to shared Haskell libraries

bugzilla at redhat.com bugzilla at redhat.com
Tue Jul 15 07:59:23 UTC 2014


https://bugzilla.redhat.com/show_bug.cgi?id=1118678



--- Comment #6 from Jens Petersen <petersen at redhat.com> ---
(In reply to Manfred Lotz from comment #5)
> Ok, you are right. It isn't the compiler suite but the Haskell runtime libs.
> 
> < You're not install all of ghc just some of the libraries
> < that pandoc requires to run. 

> You say 'some'. I have to install 60 ghc library package which is more than
> just some.

Okay, granted 60 is not a small number of dependencies I concede.
For reference we have about ~280 Haskell packages now in Fedora,
of which nearly 30 provide executables.  For example they are
all linked to ghc-base, which means if they were static there
would be 30 copies of (parts of) libHSbase.a in Fedora.

In fact there are even some optional dependencies of pandoc
that we don't have yet in Fedora that would increase the number
even further (eg http-conduit).
It is kind of a fact of life that modern modular programming
languages tend to have many small coupled libraries.

Actually there was some discussion about static linking on
Fedora Haskell list a while back and there general consensus seemed
to be that it would be a bad idea to move back to static linking.
I should maybe ask the Debian/Ubuntu Haskell people why
they still stick with static - I guess for portability
and ease of installing as you mentioned.

> It is interesting to see how ubuntu handles this:
:
> which is much more convenient.

Right Debian and Ubuntu still use static linking of Haskell libraries.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=h8FPZ1qNGX&a=cc_unsubscribe


More information about the haskell-devel mailing list