
Does anyone have a prebuilt version of ghc 6.4 that works with libreadline5? The generic Linux version on http://www.haskell.org/ghc/download_ghc_64.html requires libreadline4, but the system I am using does not have it installed. Nor am I the administrator, so I can't go installing libraries willy-nilly sadly. Or is really the best solution here to get my administrator to do so? Will building my own version and setting my LD_LIBRARY_PATH work reasonably well too? Thanks.

Geoffrey Alan Washburn wrote:
Will building my own version and setting my LD_LIBRARY_PATH work reasonably well too? Thanks.
I should have been clearer here. What I meant was if I build my own version of libreadline4 and put it somewhere I can read/write and then set my LD_LIBRARY_PATH will the precompiled version of ghc 6.4 be happy with that?

Geoffrey Alan Washburn wrote:
Will building my own version and setting my LD_LIBRARY_PATH work reasonably well too? Thanks.
I should have been clearer here. What I meant was if I build my own version of libreadline4 and put it somewhere I can read/write and then set my LD_LIBRARY_PATH will the precompiled version of ghc 6.4 be happy with that?

Geoffrey Alan Washburn wrote:
Does anyone have a prebuilt version of ghc 6.4 that works with libreadline5? The generic Linux version on http://www.haskell.org/ghc/download_ghc_64.html requires libreadline4,
I did not worry about the readline version and it worked. In fact I think I have libreadline5: maeder@turing:~/haskell> rpm -q readline readline-5.0-1.2 HTH Christian

Christian Maeder wrote:
Geoffrey Alan Washburn wrote:
Does anyone have a prebuilt version of ghc 6.4 that works with libreadline5? The generic Linux version on http://www.haskell.org/ghc/download_ghc_64.html requires libreadline4,
I did not worry about the readline version and it worked. In fact I think I have libreadline5:
maeder@turing:~/haskell> rpm -q readline readline-5.0-1.2
Maybe it worked because I've also compat-readline4-4.3-2. Cheers Christian maeder@turing:~/haskell> rpm -qa | fgrep readline readline-5.0-1.2 compat-readline4-4.3-2 libreadline-java-0.8.0-4 readline-devel-5.0-1.2 libreadline-java-javadoc-0.8.0-4

Christian Maeder wrote:
Maybe it worked because I've also compat-readline4-4.3-2.
Cheers Christian
maeder@turing:~/haskell> rpm -qa | fgrep readline readline-5.0-1.2 compat-readline4-4.3-2 libreadline-java-0.8.0-4 readline-devel-5.0-1.2 libreadline-java-javadoc-0.8.0-4
Right, % ghci /mnt/eclipse/unsupported/linux/ghc-6.4/lib/ghc-6.4/ghc-6.4: error while loading shared libraries: libreadline.so.4: cannot open shared object file: No such file or directory %
participants (2)
-
Christian Maeder
-
Geoffrey Alan Washburn