[GHC] #8618: can't load .so/.DLL
GHC
ghc-devs at haskell.org
Thu Dec 19 08:05:52 UTC 2013
#8618: can't load .so/.DLL
-----------------------------------+---------------------------------------
Reporter: Feuerbach | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler (NCG) | Version: 7.7
Keywords: | Operating System: Unknown/Multiple
Architecture: | Type of failure: Compile-time crash
Unknown/Multiple | Test Case:
Difficulty: Unknown | Blocking:
Blocked By: |
Related Tickets: |
-----------------------------------+---------------------------------------
This happens in a fresh sandbox:
{{{
% cabal install uniplate -j
Resolving dependencies...
Configuring syb-0.4.1...
Configuring text-1.0.0.0...
Building syb-0.4.1...
Building text-1.0.0.0...
Installed syb-0.4.1
Installed text-1.0.0.0
Configuring hashable-1.2.1.0...
Building hashable-1.2.1.0...
Installed hashable-1.2.1.0
Configuring unordered-containers-0.2.3.3...
Building unordered-containers-0.2.3.3...
Installed unordered-containers-0.2.3.3
Configuring uniplate-1.6.12...
Building uniplate-1.6.12...
Failed to install uniplate-1.6.12
Last 10 lines of the build log (
/home/feuerbach/.cabal/logs/uniplate-1.6.12.log ):
Preprocessing library uniplate-1.6.12...
[ 1 of 21] Compiling Data.Generics.Uniplate.Data.Instances (
Data/Generics/Uniplate/Data/Instances.hs,
dist/build/Data/Generics/Uniplate/Data/Instances.o )
[ 2 of 21] Compiling Data.Generics.Uniplate.Internal.Utils (
Data/Generics/Uniplate/Internal/Utils.hs,
dist/build/Data/Generics/Uniplate/Internal/Utils.o )
Loading package ghc-prim ... linking ... done.
Loading package integer-gmp ... linking ... done.
Loading package base ... linking ... done.
Loading package array-0.5.0.0 ... linking ... done.
Loading package deepseq-1.3.0.2 ... linking ... done.
Loading package bytestring-0.10.4.0 ... linking ... done.
Loading package text-1.0.0.0 ... <command line>: can't load .so/.DLL for:
libHStext-1.0.0.0.so (libHStext-1.0.0.0.so: cannot open shared object
file: No such file or directory)
cabal: Error: some packages failed to install:
uniplate-1.6.12 failed during the building phase. The exception was:
ExitFailure 1
}}}
I have shared: False in cabal.config, so it's not surprising that
libHStext-1.0.0.0.so is not found. What is surprising is that it's needed.
uniplate doesn't use TemplateHaskell, from what I can tell.
This is GHC 7.7.20131217.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8618>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list