Installing GHC with libedit in nonstandard location

Hi all, I'm trying to install the GHC binary for Linux. The problem is my libedit is in $HOME/lib instead of /usr/lib So GHC installs but when I try to run it is fails with: error while loading shared libraries: libedit.so.0: cannot open shared object file: No such file ordirectory I tried setting LIBRARY_PATH and LD_RUN_PATH to $HOME/lib but it doesn't help Is there some way I can run GHC with libedit in a nonstandard location? Thanks -- Grzegorz -- View this message in context: http://www.nabble.com/Installing-GHC-with-libedit-in-nonstandard-location-tp... Sent from the Haskell - Haskell-Cafe mailing list archive at Nabble.com.

On Sat, 24 Jan 2009 07:23:04 -0800 (PST)
Grzegorz Chrupala
So GHC installs but when I try to run it is fails with: error while loading shared libraries: libedit.so.0: cannot open shared object file: No such file ordirectory I tried setting LIBRARY_PATH and LD_RUN_PATH to $HOME/lib but it doesn't help
The variable you need to set is LD_LIBRARY_PATH -- Robin

greenrd wrote:
The variable you need to set is LD_LIBRARY_PATH
Indeed, this worked. Thanks! -- Grzegorz -- View this message in context: http://www.nabble.com/Installing-GHC-with-libedit-in-nonstandard-location-tp... Sent from the Haskell - Haskell-Cafe mailing list archive at Nabble.com.
participants (2)
-
Grzegorz Chrupala
-
Robin Green