[GHC] #12940: ghc-8.0.2 RC1 libs installed under package dirs vs Cabal installing packages under abi dir
GHC
ghc-devs at haskell.org
Wed Dec 7 09:58:52 UTC 2016
#12940: ghc-8.0.2 RC1 libs installed under package dirs vs Cabal installing
packages under abi dir
----------------------------------------+---------------------------------
Reporter: juhpetersen | Owner:
Type: bug | Status: new
Priority: normal | Milestone: 8.0.2
Component: Build System | Version: 8.0.2-rc1
Keywords: | Operating System: Linux
Architecture: Unknown/Multiple | Type of failure: None/Unknown
Test Case: | Blocked By:
Blocking: | Related Tickets:
Differential Rev(s): | Wiki Page:
----------------------------------------+---------------------------------
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. :-)
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12940>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list