On Sun, May 18, 2014 at 09:15:44PM -0700, Greg Steuck wrote: > I installed xmonad package on 5.5/amd64 and tried to start with the most > trivial config: > > % xmonad --recompile > Error detected while loading xmonad configuration file: > /home/greg/.xmonad/xmonad.hs > /usr/bin/ld: cannot find -lHSffi > collect2: ld returned 1 exit status
[...] > libHSffi is indeed nowhere to be found: > % pkg_info -L ghc-7.6.3p1 | grep HSffi Anything related to FFI is contained in ghc (and the ghc-7.6.3 library) itself. There is indeead no libHSffi. > Is anybody successfully running xmonad on 5.5? Where do you get libHSffi > from? It works fine here (on current, with packages built on my own build machine). Do you have any werid leftovers in your ~/.ghc and/or ~/.cabal directories? While our hs-ports always ensure to use only the globally installed hs libraries (i.e. in ${LOCALBASE}/lib/ghc), xmonad may also pull in user-installed libraries. You can explicitely list global and user hs-libaries using ghc-pkg list --global and ghc-pkg list --user Ciao, Kili