[Nix-dev] ghc not able to find libz.so
Richard Wallace
rwallace at thewallacepack.net
Wed Oct 15 04:33:37 CEST 2014
Hello all,
I put nix on a new machine today and tried to build a Haskell project that
successfully builds on other machines. To my great surprise, I encountered
this error
[ 6 of 12] Compiling Rainicorn.Types ( src/Rainicorn/Types.hs,
dist/build/hiberico/hiberico-tmp/Rainicorn/Types.o )
<no location info>:
ghc: panic! (the 'impossible' happened)
(GHC version 7.8.3 for x86_64-unknown-linux):
Dynamic linker not initialised
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
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 containers-0.5.5.1 ... linking ... done.
Loading package binary-0.7.1.0 ... linking ... done.
Loading package digest-0.0.1.2 ... linking ... done.
Loading package filepath-1.3.0.2 ... linking ... done.
Loading package old-locale-1.0.0.6 ... linking ... done.
Loading package time-1.4.2 ... linking ... done.
Loading package unix-2.7.0.1 ... linking ... done.
Loading package directory-1.2.1.0 ... linking ... done.
Loading package transformers-0.3.0.0 ... linking ... done.
Loading package mtl-2.1.2 ... linking ... done.
Loading package old-time-1.1.0.2 ... linking ... done.
Loading package pretty-1.1.1.1 ... linking ... done.
Loading package text-1.1.1.3 ... linking ... done.
Loading package zlib-0.5.4.1 ...
<no location info>:
<command line>: can't load .so/.DLL for: libz.so (libz.so: cannot open
shared object file: No such file or directory)
This project is using ghc 7.8.3 and a pretty recent nixpkgs. I'm not
seeing this error on other machines so have no idea what could be going
on. Any ideas?
Thanks,
Rich
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20141014/3d408207/attachment.html
More information about the nix-dev
mailing list