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
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe