2009/1/31 Floris Bruynooghe <floris.bruynooghe@gmail.com>:I'm leaning more and more toward this is actually a bug with the distutils source on Solaris.Yes, I agree now that it is a bug in distutils and I agree with your fix. The if statement should check both that it is SunOS and that it is using a shared python, just like the linux one. If fact the linux one could just be modified: if (sys.paltform.startswith('linux') \ or sys.platform.startswith('gnu') \ or sys.platform.startswith('sunos')) \ and sysconfig.get_config_var('Py_ENABLE_SHARED'): ... I'll leave the honours of reporting the bug to you if you agree with this.Yes thanks to report this, I'll apply your fix, Regards Tarek