logo       

RE: LD_LIBRARY_PATH, ghc and Solaris: msg#00045

lang.haskell.glasgow.bugs

Subject: RE: LD_LIBRARY_PATH, ghc and Solaris


> 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


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise