
Am Mittwoch, 15. Oktober 2008 16:35 schrieb Paul Johnston:
Christian Maeder wrote:
Paul Johnston wrote:
paulj@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@hb-0021209.humanities.manchester:~/haskell/aht/3$ ./Haq "Bother" "Haq! BotherOr not!" paulj@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
Tried setting both LD_LIBRARY_PATH and LIBRARY_PATH
paulj@hb-0021209.humanities.manchester:~/haskell/aht/3$ env | grep LIBRARY LIBRARY_PATH=/usr/lib:/opt/csw/lib:/opt/csw/lib/engines:/usr/local/lib LD_LIBRARY_PATH=/usr/lib:/opt/csw/lib:/opt/csw/lib/engines:/usr/local/lib paulj@hb-0021209.humanities.manchester:~/haskell/aht/3$
Still same issue
paulj@hb-0021209.humanities.manchester:~/haskell/aht/3$ touch Haq.hs paulj@hb-0021209.humanities.manchester:~/haskell/aht/3$ ghc -o Haq Haq.hs
What happens with --make now?
Cheers Paul