<div dir="ltr"><div class="gmail_quote"><div dir="ltr"><div>Hi,<br></div><div><br></div><div>I am having trouble with precompiled binary&nbsp;<a href="http://www.haskell.org/ghc/dist/6.8.3/maeder/ghc-6.8.3-sparc-sun-solaris2.tar.bz2" target="_blank">http://www.haskell.org/ghc/dist/6.8.3/maeder/ghc-6.8.3-sparc-sun-solaris2.tar.bz2</a>.</div>

<div><br></div><div>My first problem was that the machine is 64-bit SPARC while the binary seems to be 32-bit. Since the dynamically linked GHC binary requires additional .so files to run, any libs which I try to compile on the machine itself run into ELF class incompatibility errors. So I tried installing prebuilt packages from&nbsp;<a href="http://sunfreeware.com/" target="_blank">http://sunfreeware.com/</a>, and spent a couple hours grokking the Solaris package system before I figured out how to extract the right files. Now I think I have the right libs installed, but when I try to run GHC, I get this:</div>
<div><br></div><div><div>-bash-3.00$ runhaskell Setup configure</div><div>ld.so.1: ghc-6.8.3: fatal: relocation error: file /home/.../lib/libncurses.so.5: symbol main: referenced symbol not found</div><div><br></div><div>

(FYI, I got ncurses 5.6 from&nbsp;<a href="http://sunfreeware.com/programlistsparc10.html#ncurses" target="_blank">http://sunfreeware.com/programlistsparc10.html#ncurses</a>.)</div><div><br></div><div>Any suggestions would be welcome, thanks in advance.</div>

<div><br></div></div><div class="Ih2E3d"><br>-- <br>Elliott Slaughter<br><br>&quot;Any road followed precisely to its end leads precisely nowhere.&quot; - Frank Herbert<br>
</div></div>
</div><br><br clear="all"><br>-- <br>Elliott Slaughter<br><br>&quot;Any road followed precisely to its end leads precisely nowhere.&quot; - Frank Herbert<br>
</div>