Terminfo package fails to load .so file on Fedora 13 prerelease

Simon Marlow marlowsd at gmail.com
Thu Apr 1 04:33:04 EDT 2010


On 29/03/2010 20:49, Robin Green wrote:
> I encountered a problem compiling yi on Fedora Linux 13 (prerelease):
> when the terminfo package was loaded by ghci, it attempted to load the
> native library /usr/lib/libncursesw.so. However, that file has
> recently been changed from a symbolic link to a library, into a plain
> text file, as explained here in the response to my Fedora bug report:
>
> https://bugzilla.redhat.com/show_bug.cgi?id=578509
>
> The response suggests that ghci should instead try to load the
> versioned link libncursesw.so.5 (which happens to be in /lib in
> Fedora, incidentally).
>
> Is this something that could be changed by the terminfo package, or
> would there have to be a change made to ghci?

We applied a workaround for this that will be in 6.14.1:

http://hackage.haskell.org/trac/ghc/ticket/2615

In the meantime you'll need to avoid referring to linker scripts in the 
terminfo package, and instead resolve them to actual shared libraries.

Cheers,
	Simon


More information about the Libraries mailing list