Hi Andreas,
I suspect this has to do with different environments in these two
cases. Could you please see if there are any differences? For bash
shell, use env to print out all the variables, save them in files and
then compare the files. If you find anything suspicious, try changing
those variables.
If this does not resolve the problem, is there any way I can get a
login on your system to try to debug this?
Mikhail