
Per Larsson wrote:
[...] P.S Now everything seems to work, except that I get the compiler message:
/usr/local/lib/ghc-6.2/libHSunix.a(User__17.o)(.text+0x160): In function 'SystemziPosixziUser_getUserEntryForName_entry': : Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
This seems to indicate that there are a few functions (probably in the Posix package) which can't be can't be statically linked?
Yes, this seems to be the case for some functions in glibc, see e.g.: http://www.busybox.net/lists/busybox/2004-May/011474.html and the reply: http://www.busybox.net/lists/busybox/2004-May/011475.html No idea what this means in practice, though... Cheers, S.