GHC on Solaris Nevada
Christian Maeder
Christian.Maeder at dfki.de
Mon Jan 28 12:09:16 EST 2008
Felix Martini wrote:
> Christian Maeder wrote:
>> Maybe my new binary release is easier to install
>
> Your new release installed ok, but GHC does not work on my system. I
> can compile a simple hello world program, but running ghci or doing
> other compilations result in program termination of GHC and the
> terminal. GHC 6.6 did the same.
>
>> -bash-3.1$ ldd lib/ghc-6.8.2/ghc-6.8.2
>> 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 => /usr/local/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
>> libmd5.so.1 => /lib/libmd5.so.1
>> libiconv.so.2 => /usr/local/lib/libiconv.so.2
>> libsocket.so.1 => /lib/libsocket.so.1
>> libnsl.so.1 => /lib/libnsl.so.1
>> libgcc_s.so.1 => /usr/local/lib/libgcc_s.so.1
>> libmp.so.2 => /lib/libmp.so.2
>> libscf.so.1 => /lib/libscf.so.1
>> libdoor.so.1 => /lib/libdoor.so.1
>> libuutil.so.1 => /lib/libuutil.so.1
>> libgen.so.1 => /lib/libgen.so.1
>
> My result of ldd is:
>
> bash-3.00$ ldd /usr/local/lib/ghc-6.8.2/ghc-6.8.2
> librt.so.1 => /lib/librt.so.1
> libreadline.so.5 => /usr/lib/libreadline.so.5
> libncurses.so.5 => /usr/gnu/lib/libncurses.so.5
> libdl.so.1 => /lib/libdl.so.1
> libm.so.2 => /lib/libm.so.2
> libgmp.so.3 => /usr/lib/libgmp.so.3
> libpthread.so.1 => /lib/libpthread.so.1
> libc.so.1 => /lib/libc.so.1
> libcurses.so.1 => /lib/libcurses.so.1
Your ldd output looks nice. Is it still that simple after you've update
your readline lib?
Most of my above libs get in via libreadline:
-bash-3.1$ ldd /usr/local/lib/libreadline.so.5
warning: ldd: /usr/local/lib/libreadline.so.5: is not executable
libiconv.so.2 => /usr/local/lib/libiconv.so.2
libsocket.so.1 => /lib/libsocket.so.1
libnsl.so.1 => /lib/libnsl.so.1
libm.so.2 => /lib/libm.so.2
libgcc_s.so.1 => /usr/local/lib/libgcc_s.so.1
libc.so.1 => /lib/libc.so.1
libmp.so.2 => /lib/libmp.so.2
libmd5.so.1 => /lib/libmd5.so.1
libscf.so.1 => /lib/libscf.so.1
libdoor.so.1 => /lib/libdoor.so.1
libuutil.so.1 => /lib/libuutil.so.1
libgen.so.1 => /lib/libgen.so.1
I've not idea about /lib/libaio.so.1
(Possibly our system is set up suboptimal.)
Cheers Christian
More information about the Glasgow-haskell-users
mailing list