Cron & Python + Package

Oleg Broytmann phd at
Thu Feb 3 10:38:37 EST 2000

On Thu, 3 Feb 2000, Kolosov, Victor wrote:
> The problem is only when a python package uses  C libraries and in this case
> requires LD_LIBRARY_PATH to be set. 

   LD_LIBRARY_PATH only read by dlinker on program startup. If you LATER
(i.e., inside your program) change the value of this variable, its new
value will have meaning only to program that will be started from your
script by os.system. You should set a value for LD_LIBRARY_PATH BEFORE your
program begins.

    Oleg Broytmann      Foundation for Effective Policies      phd at
           Programmers don't die, they just GOSUB without RETURN.

More information about the Python-list mailing list