id summary reporter owner description type status priority milestone component version resolution keywords cc cpu platform 411 Makefile uses LD instead of GCC for linking leads to undefined symbol: __stack_chk_fail_local RRosario grass-dev@… "The Makefile for Python SWIG uses LD for linking rather than GCC. On some Linux systems, this causes Python to throw the error: $ python -c ""import _python_grass6"" Traceback (most recent call last): File """", line 1, in ImportError: ./_python_grass6.so: undefined symbol: __stack_chk_fail_local when the library python_grass6 is imported due to a stack smash guard. I have confirmed that replacing LD with CC fixes this problem. On some distributions of Linux, this can be fixed by adding ""-fno-stack-protector"" to CFLAGS. R." defect closed major 6.4.0 Python ctypes svn-develbranch6 fixed undefined symbol __stack_chk_fail_local x86-32 Linux