Build failure under Fedora 21

Dominick Samperi djsamperi at gmail.com
Sat Jan 17 08:22:05 UTC 2015


It turns out that the undefined reference to libHSprimitive-0.5.4.0.so
when installing pandoc is not related to the use of CentOS or Debian
binaries. I get the same undefined reference when I try to use
ghc-7.8.4 compiled from source under Fedora 21. Here is the output of
'locate libHSprimitive':

/home/dsamperi/.cabal/lib/primitive-0.5.4.0/ghc-7.8.4/libHSprimitive-0.5.4.0.a
/usr/lib64/ghc-7.6.3/primitive-0.5.0.1/libHSprimitive-0.5.0.1-ghc7.6.3.so
/usr/lib64/ghc-7.6.3/primitive-0.5.0.1/libHSprimitive-0.5.0.1.a
/usr/lib64/ghc-7.6.3/primitive-0.5.0.1/libHSprimitive-0.5.0.1_p.a


So there is a .a library, but no .so (shared) lib in the build from
source. Can someone explain how to get the build process to create all
necessary shared libs?

Thanks,
Dominick

On Thu, Jan 15, 2015 at 4:55 AM, Jens Petersen <juhpetersen at gmail.com> wrote:
> I also have ghc-7.8.4 builds available in
>
>   https://copr.fedoraproject.org/coprs/petersen/ghc-7.8.4/
>
> if that helps, though they replace the Fedora ghc packages.
>
> Jens


More information about the ghc-devs mailing list