
15 Dec
2008
15 Dec
'08
5:46 a.m.
I get this error when running a script with runghc, if ghc was built againt glibc 2.8: ghc: /package/host/code.dogmap.org/foreign/ghc-6.10.1+spf+0/prefix/lib/ghc-6.10.1/base-4.0.0.0/HSbase-4.0.0.0.o: unknown symbol `fstat64' ghc: unable to load package `base' With glibc 2.6.1, it works. (At least, ghc 6.8.3 works with glibc 2.6.1. I didn't try ghc 6.10.1 with glibc 2.6.1, but ghc 6.8.3 gives the same error with glibc 2.8, so the ghc version doesn't seem to matter.) The output from "make" when building ghc didn't have any linking errors/warnings related to HSbase, as far as I can see. Has anyone seen anything like this? Any ideas? paul