[Haskell-beginners] Problems with installing lambdabot
mail at antoras.de
Tue Jul 3 23:23:58 CEST 2012
Ok, after changing this the linker error is gone. But now I get a
compile error close to the place the linker error previously occurred:
[28 of 79] Compiling Plugin.Activity ( Plugin/Activity.hs,
Loading package IOSpec-0.2.5 ... linking ... done.
Illegal instance declaration for `Module
(All instance types must be of the form (T a1 ... an)
where a1 ... an are *distinct type variables*,
and each type variable appears at most once in the instance head.
Use -XFlexibleInstances if you want to disable this.)
In the instance declaration for `Module ActivityModule ActivityState'
cabal: Error: some packages failed to install:
lambdabot-18.104.22.168 failed during the building phase. The exception was:
On 07/03/2012 09:47 PM, Brandon Allbery wrote:
> On Tue, Jul 3, 2012 at 3:16 PM, Antoras <mail at antoras.de
> <mailto:mail at antoras.de>> wrote:
> Loading package readline-22.214.171.124 ... <command line>: can't load
> .so/.DLL for:
> (-lncursesw: cannot open shared object file: No such file or
> Your Linux distribution pulled a cute stunt that throws the dynamic
> loader (used for TH and ghci and a few other things) for a loop:
> libncurses.so, for backward compatibility purposes, is a GNU ld
> linker script which references libncursesw.so in a way the dynamic
> loader doesn't understand. You can work around this in one of two ways:
> 1. replace /usr/lib/libncurses.so with a symlink to
> /usr/lib/libncursesw.so; OR
> 2. edit /usr/lib/libncurses.so, which is a text file (linker script),
> to reference "/usr/lib/libncursesw.so" instead of "-lncursesw".
> brandon s allbery allbery.b at gmail.com <mailto:allbery.b at gmail.com>
> wandering unix systems administrator (available) (412) 475-9364 vm/sms
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Beginners