Thanks Duncan and Sven for your helpful answers. 

Per Larsson

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?

_______________________________________________
Haskell-Cafe mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to