ghc-6.8.1 on solaris-sparc

Johannes Waldmann waldmann at imn.htwk-leipzig.de
Thu Jul 3 05:00:19 EDT 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello.

I am assuming that 6.8.1 is the latest
binary release for solaris-sparc?


When I try to call ghc, it says

ld.so.1: ghc-6.8.1: fatal: relocation error: file
/usr/local/lib/libncurses.so.5: symbol main: referenced symbol not found



my machine is:  sparc-sun-solaris2.10

I think I have all the necessary packages:

ldd /home/waldmann/built/lib/ghc-6.8.1/ghc-6.8.1

        librt.so.1 =>    /lib/librt.so.1
        libreadline.so.5 =>      /usr/local/lib/libreadline.so.5
        libncurses.so.5 =>       /usr/local/lib/libncurses.so.5
        libdl.so.1 =>    /lib/libdl.so.1
        libm.so.2 =>     /lib/libm.so.2
        libgmp.so.3 =>   /home/waldmann/built/lib/libgmp.so.3
        libpthread.so.1 =>       /lib/libpthread.so.1
        libc.so.1 =>     /lib/libc.so.1
        libaio.so.1 =>   /lib/libaio.so.1
        libmd.so.1 =>    /lib/libmd.so.1
        libgcc_s.so.1 =>         /usr/local/lib/libgcc_s.so.1
        /platform/SUNW,Sun-Fire-V445/lib/libc_psr.so.1
        /platform/SUNW,Sun-Fire-V445/lib/libmd_psr.so.1

but this looks strange:

nm /usr/local/lib/libncurses.so.5|grep main

[1192]  |         0|       0|NOTY |GLOB |0    |UNDEF  |main




Any hints appreciated - J.W.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4-svn0 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIbJUjDqiTJ5Q4dm8RAqWvAKCAwkVKJgLnLL3Uz0rr3Yp3AzVQmACfVyEe
n3LqWHh2zvaeGopm4t7xpSc=
=nryk
-----END PGP SIGNATURE-----


More information about the Glasgow-haskell-users mailing list