[plt-scheme] putenv / modules / extentions

From: Alexander Friedman (alex at inga.mit.edu)
Date: Mon Jul 28 15:54:44 EDT 2003

Hi All,

I have a scheme extention that relies on a specific environment variable to be 
set for it's underlying c code to work correctly. If i call (putenv ...)
outside the module before requiring it, everything works fine. However, calling 
putenv inside the module has no effect. Obviosly, the user of the module should 
not need to be aware of this detail. 

To be more specific, the the C library in question needs to load some font 
files. It first looks in the directory it was run from, and then in a directory 
specified by the environment variable. Any ideas/suggestions/workarounds?

-Alex


Posted on the users mailing list.