Dynamic linked version of hakyll library is missing

Bug #1001925 reported by Pali
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
haskell-hakyll (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

On Ubuntu package ghc-dynamic provides more dynamic linked haskell libraries, but does not have hakyll.

When I build simple haskell program and link haskell libraries as static it has big size (due to static linking). But If I link haskell libaries as dynamic (-dynamic flag for ghc), then size of ELF binary is more smaller.

Small haskell program which using hakyll library has abou 47MB when program is static linked.

I tried to compile some programs which use hakyll with dynamic linking, but Ubuntu does not have dynamic linked libaries of hakyll. I have installed packages ghc6-dynamic and also libghc-hakyll-dev but I still geting error:

$ ghc -O2 -dynamic hakyll.hs
hakyll.hs:10:8:
    Could not find module `Hakyll'
    Perhaps you haven't installed the "dyn" libraries for package `hakyll-3.2.6.1'?
    Use -v to see a list of the files searched for

So please add new package to ubuntu which will contains also dynamic linked version of hakyll. On systems which using package manager is really good idea to use dynamic libaries instead static linking of all runtime.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in haskell-hakyll (Ubuntu):
status: New → Confirmed
Revision history for this message
Colin Watson (cjwatson) wrote :

Anything like this would be done across all Haskell libraries rather than just one, and would be done in Debian. I suspect it may happen for GHC 7.8, since GHCi will start relying on dynamic linking at that point, but I can't say for sure as yet.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.