[Bf-committers] strange scons/python interaction

Gregor Mück bf-committers@blender.org
Thu, 26 Feb 2004 14:10:35 +0100


Hi!

I've run into a problem with Python and SCons. I compile my local Blender 
against Python 2.3.3. As long as I used the autoconf/automake system 
everything worked fine. But when I use a Blender binary compiled with SCons 
the simple Python command "import math" fails with

ImportError: /usr/lib/python2.3/lib-dynload/math.so: undefined symbol: 
PyDict_SetItemString

When I build Blender with the old NaN makefiles from the same sources (also 
against Python 2.3), the problem disappears. The question is: What does SCons 
do differently?

Regards,
Gregor