<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
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:<br>
<br>
<br>
[28 of 79] Compiling Plugin.Activity ( Plugin/Activity.hs,
dist/build/lambdabot/lambdabot-tmp/Plugin/Activity.o )<br>
[...]<br>
Loading package IOSpec-0.2.5 ... linking ... done.<br>
<br>
Plugin/Activity.hs:18:10:<br>
Illegal instance declaration for `Module<br>
ActivityModule
ActivityState'<br>
(All instance types must be of the form (T a1 ... an)<br>
where a1 ... an are *distinct type variables*,<br>
and each type variable appears at most once in the instance
head.<br>
Use -XFlexibleInstances if you want to disable this.)<br>
In the instance declaration for `Module ActivityModule
ActivityState'<br>
cabal: Error: some packages failed to install:<br>
lambdabot-4.2.3.2 failed during the building phase. The exception
was:<br>
ExitFailure 1<br>
<br>
<br>
<div class="moz-cite-prefix">On 07/03/2012 09:47 PM, Brandon Allbery
wrote:<br>
</div>
<blockquote
cite="mid:CAKFCL4UD8D10S2SHrv+nDBiW0=9-f7K97d4g6cSb-=9kCH5A_A@mail.gmail.com"
type="cite">
<div dir="ltr">On Tue, Jul 3, 2012 at 3:16 PM, Antoras <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:mail@antoras.de" target="_blank">mail@antoras.de</a>></span>
wrote:<br>
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
Loading package readline-1.0.1.0 ... <command line>:
can't load .so/.DLL for: /usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/../../../../lib/libncurses.so
(-lncursesw: cannot open shared object file: No such file or
directory)<br>
</blockquote>
<div><br>
</div>
<div>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:</div>
<div><br>
</div>
<div>1. replace /usr/lib/libncurses.so with a symlink to
/usr/lib/libncursesw.so; OR</div>
<div>2. edit /usr/lib/libncurses.so, which is a text file
(linker script), to reference "/usr/lib/libncursesw.so"
instead of "-lncursesw".</div>
<div><br>
</div>
</div>
-- <br>
brandon s allbery <a
moz-do-not-send="true" href="mailto:allbery.b@gmail.com"
target="_blank">allbery.b@gmail.com</a><br>
wandering unix systems administrator (available) (412)
475-9364 vm/sms<br>
<br>
</div>
</blockquote>
<br>
<br>
</body>
</html>