The problem of using network package in GHC
I have this simple code:
import Network main = return ()
executing with runhaskell error:
> runhaskell test.hs test.hs: C: \ ghc \ ghc-6.10.4 \ network-126.96.36.199 \ HSnetwork-188.8.131.52.o: unknown symbol `_getnameinfo ' test.hs: test.hs: unable to load package `network-184.108.40.206 '
GHCi also gives simillar error message. What can I do about it?
I am using GHC 6.10.4 on Windows 2000.
source to share