id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	os	architecture	failure	difficulty	testcase	blockedby	blocking	related
3536	ghci doesn't resolve libm symbols properly on Windows	augustss		"The erf package on hackage uses the libm functions erf and erfc.
This all works fine in ghc, but in ghci we get an error.

To repeat:
{{{
cabal install erf
}}}
Try compiling
{{{
import Data.Number.Erf
main = print $ erf (1::Double)
}}}
and it works fine.
Now try
{{{
ghci
:m +Data.Number.Erf
print $ erf (1::Double)
}}}
and the result is
{{{
Loading package syb ... linking ... done.
Loading package base-3.0.3.1 ... linking ... done.
Loading package erf-1.0.0.0 ... linking ... <interactive>: C:\Program Files\Haskell\erf-1.0.0.0\ghc-6.10.4\HSerf-1.0.0.0.o: unknown
symbol `_erfc'
: unable to load package `erf-1.0.0.0'
}}}
"	bug	closed	normal	6.12.1	Runtime System	6.10.4	fixed			Windows	Unknown/Multiple		Unknown				
