[Haskell-beginners] Re: Problems with ghc

Christian Maeder Christian.Maeder at dfki.de
Wed Oct 15 10:06:33 EDT 2008


Paul Johnston wrote:
> paulj at hb-0021209.humanities.manchester:~/haskell/aht/3$ ghc
> -L=/usr/local/lib/ -o Haq --make Haq.hs
> [1 of 1] Compiling Main             ( Haq.hs, Haq.o )
> Linking Haq ...
> paulj at hb-0021209.humanities.manchester:~/haskell/aht/3$ ./Haq "Bother"
> "Haq! BotherOr not!"
> paulj at hb-0021209.humanities.manchester:~/haskell/aht/3$
> 
> Tried putting /usr/local/lib in $LD_LIBRARY_PATH but that didn't seem to
> work, pity.
> Anyway many, many thanks

I think setting LIBRARY_PATH would work.

Cheers Christian


More information about the Beginners mailing list