LD_LIBRARY_PATH, ghc and Solaris
Simon Marlow
simonmar at microsoft.com
Tue Oct 21 08:48:53 EDT 2003
> I have to do a similar thing on OpenBSD, to use an external libgmp
> residing in /usr/local/lib. But no real hacking is required!
>
> When compiling GHC, before you start, add something like:
>
> , "-L", "/usr/local/lib"
>
> to somewhere down around line 137 of ghc/rts/package.conf.in.
More correctly, the directory should be added to the 'library_dirs'
field of the package configuration for the appropriate package
(readline, in the case of the original report).
Cheers,
Simon
More information about the Glasgow-haskell-bugs
mailing list