Skip to content

can't load .so/.DLL

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.

Trac metadata
Trac field Value
Version 7.7
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler (NCG)
Test case
Differential revisions
BlockedBy
Related
Blocking
CC simonmar
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information