[Haskell-cafe] haskell on OpenBSD 5.5

Michael S msherman77 at yahoo.com
Tue May 20 23:42:14 UTC 2014


Unfortunately  installing the lib did not fix the issue:

pkg_info | grep gmp
gmp-5.0.2p2         library for arbitrary precision arithmetic

ghci
GHCi, version 7.6.3: http://www.haskell.org/ghc/  :? for help
Loading package ghc-prim ... linking ... done.
Loading package integer-gmp ... linking ... ghc: /usr/local/lib/ghc/integer-gmp-0.5.0.0/HSinteger-gmp-0.5.0.0.o: unhandled ELF relocation(Rel) type 10

One way to rectify the issue is apparently to installed OpenBSD for x64, which I will do if I don't find fix soon.

On Tuesday, May 20, 2014 4:27:11 PM, Mike Meyer <mwm at mired.org> wrote:
 


The integer-gmp problems is that you don't have all the bits of the gmp library installed. This happens when the package system doesn't correctly pick them up, or when I install HP from outside the package system. The usual fix (on Linux, anyway) is to install the appropriate dev package to go with gmp. If OpenBSD hasn't yet succumbed to the idiocy of dev packages, it's possible the gmp library itself is missing.

I suspect similar issues with hs-vector: there's some dependency missing in the package system description.



On Tue, May 20, 2014 at 2:40 PM, Michael S <msherman77 at yahoo.com> wrote:


>
>Good day all, I installed OpenBSD 5.5 in order to learn haskell. 
There are a few glitches however. I installed the haskell-platform meta-package and the issues I noticed are:
- hs-vector wouldn't install
- ghci wouldn't start, the message: unable to load package `integer-gmp' Has anyone experienced the same issue? Is this happening on OpenBSD 5.4? Is this OpenBSD specific? Thanks in advance.
>_______________________________________________
>Haskell-Cafe mailing list
>Haskell-Cafe at haskell.org
>http://www.haskell.org/mailman/listinfo/haskell-cafe
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20140520/ef9569c4/attachment.html>


More information about the Haskell-Cafe mailing list