
#7846: GHC 7.7 cannot link primitives -----------------------------------------+---------------------------------- Reporter: kazu-yamamoto | Owner: Type: bug | Status: new Priority: normal | Component: Compiler Version: 7.7 | Keywords: Os: Linux | Architecture: x86_64 (amd64) Failure: Compile-time performance bug | Blockedby: Blocking: | Related: -----------------------------------------+---------------------------------- When I tries to install the vector library on Linux, GHC 7.7 cannot find a necessary primitive library: {{{ % cabal install vector ... [ 5 of 19] Compiling Data.Vector.Fusion.Stream.Monadic ( Data/Vector/Fusion/Stream/Monadic.hs, dist/build/Data/Vector/Fusion/Stream/Monadic.o ) Loading package ghc-prim ... linking ... done. Loading package integer-gmp ... linking ... done. Loading package base ... linking ... done. Loading package primitive-0.5.0.1 ... <command line>: can't load .so/.DLL for: libHSprimitive-0.5.0.1.so (libHSprimitive-0.5.0.1.so: cannot open shared object file: No such file or directory) cabal: Error: some packages failed to install: vector-0.10.0.1 failed during the building phase. The exception was: ExitFailure 1 }}} Note that static library of primitive is installed but dynamic one is not. -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7846 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler