Skip to content

ghc-8.0.2 RC1 libs installed under package dirs vs Cabal installing packages under abi dir

This may be more of an inconsistency than a bug:

Under Linux, ghc-8.0.1.20161117 installs its dynlibs in package libdirs whereas Cabal-1.24.1.0 installs them under the abi dir:

eg /usr/lib/ghc-8.0.2/pkg-version/libHSpkg-version-*.so

vs /usr/lib/<arch>-linux-ghc-8.0.2/libHSpkg-version-*.so

It would be more consistent for both to install in the same place.

Personally I would even suggest just to install ghc dynlibs in /usr/lib itself but that is probably another discuss for Cabal... That would avoid the need for RPATH's entirely. :-)

Edited by Jens Petersen
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information