Dynamic linked version of hakyll library is missing
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.
Status changed to 'Confirmed' because the bug affects multiple users.