
13 Jan
2008
13 Jan
'08
10:44 p.m.
Hi, In perl scripts (unix), one can do == #!/usr/local/bin/perl BEGIN { $ENV{LD_LIBRARY_PATH} = ...; } do my perl stuff == The setting of ENV variable before the program runs allows me to fix the shell environments. In this case, I need to specify where to look for the shared library. How do I do this in Haskell if I am writing the same script using: == #!/path/to/runhaskell {- how to set LD_LIBRARY_PATH = ... ? -} do my haskell stuff == Thanks, Steve