
#8618: can't load .so/.DLL ---------------------------------------+----------------------------------- Reporter: Feuerbach | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler (NCG) | Version: 7.7 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Compile-time crash | Unknown/Multiple Test Case: | Difficulty: Unknown Blocking: | Blocked By: | Related Tickets: ---------------------------------------+----------------------------------- Comment (by nushio): I hit the same issue while installing {{{singletons}}} package using GHC 7.7.20131217 on {{{ Linux nusid 3.8-2-amd64 #1 SMP Debian 3.8.13-1 x86_64 GNU/Linux }}} The tail of the installation message was: {{{ Loading package mtl-2.1.2 ... <command line>: can't load .so/.DLL for: libHSmtl-2.1.2.so (libHSmtl-2.1.2.so: cannot open shared object file: No such file or directory) Failed to install singletons-0.9.3 cabal: Error: some packages failed to install: singletons-0.9.3 failed during the building phase. The exception was: ExitFailure 1 }}} The temporal solution to this was (as hinted by Feuerbach) to set {{{shared: True}}} in my {{{~/.cabal/config}}} file, and then to {{{cabal install mtl --force-reinstall --reinstall }}} . -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8618#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler