logo       

RE: loading package util on Linux: msg#00056

lang.haskell.glasgow.bugs

Subject: RE: loading package util on Linux


> Using GHC 5.04.3 (via
> http://www.haskell.org/ghc/dist/5.04.3/ghc-5.04.3-i386-unknown
> -linux.tar.bz2)
> on one Linux box has a problem loading package "data":
>
> ================
> [heringto@sediment work]$ uname -a
> Linux sediment 2.4.2-2smp #1 SMP Sun Apr 8 20:21:34 EDT 2001 i686
> unknown
> [heringto@sediment work]$ ghci -package data
> ___ ___ _
> / _ \ /\ /\/ __(_)
> / /_\// /_/ / / | | GHC Interactive, version 5.04.3,
> for Haskell
> 98.
> / /_\\/ __ / /___| | http://www.haskell.org/ghc/
> \____/\/ /_/\____/|_| Type :? for help.
>
> Loading package base ... linking ... done.
> Loading package haskell98 ... linking ... done.
> Loading package lang ... linking ... done.
> Loading package concurrent ... linking ... done.
> Loading package posix ... linking ... done.
> Loading package util ... linking ...
> /afs/isis.unc.edu/home/h/e/heringto/researc\
> h/joint/ghc-5.04.3/lib/i386-unknown-linux/HSutil.o: unknown symbol
> `rl_ding'
> ghc-5.04.3: panic! (the `impossible' happened, GHC version 5.04.3):
> can't load package `util'
>
> Please report it as a compiler bug to
> glasgow-haskell-bugs@xxxxxxxxxxx,
> or http://sourceforge.net/projects/ghc/.

Looks like a mismatch in readline library versions. You installed GHC
from the binary distribution, which doesn't check that you have the
right readline library version installed.

What libreadlines are floating around on your system? Have you done any
local hacks such as symbolinc-linking libreadline.so.3 to
libreadline.so.4?

Cheers,
Simon


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise