Forwarding to fedora Haskell list instead...
---------- Forwarded message ----------
From: Jens-Ulrik Petersen <petersen(a)redhat.com>
Date: Mon, Apr 4, 2016 at 6:06 PM
Subject: Re: slack setup fails
To: Jan Synacek <jsynacek(a)redhat.com>
Hi Jan,
Copying Fedora Haskell list since this might interest/affect other people too.
(I have mostly tested stack with my ghc-7.10.3 copr...)
On Mon, Apr 4, 2016 at 4:22 PM, Jan Synacek <jsynacek(a)redhat.com> wrote:
I'm trying to use the stack tool from your copr repository [1].
When I
run 'stack setup', it fails with:
"/home/jsynacek/.stack/programs/x86_64-linux/ghc-7.10.3/lib/ghc-7.10.3/bin/ghc-pkg:
error while loading shared libraries: libtinfo.so.5: cannot open
shared object file: No such file or directory
gmake[1]: *** [install_packages] Error 127
gmake: *** [install] Error 2"
The error is actually coming from the ghc binary,
which I assume was downloaded from upstream by stack,
and hence still linked against libtinfo.so.5.
I resolved this by installing the library (ncurses-compat-libs on
Fedora 24). I'm not sure if I missed this in the documentation, but
maybe it could be added as Requires to the spec file.
Good idea, thanks, I'll add it. :)
Jens
ps Somehow latest stack has been failing to link on F24, so you're
probably not using the latest version.
> [1]
https://copr.fedorainfracloud.org/coprs/petersen/stack/
>
> Cheers,
> --
> Jan Synacek
> Software Engineer, Red Hat