Hy list,
I've still problems with GRASS/swig/python. I've build python_grass6.py and _python_grass6.so with make command in /swig/python directory and I copied the files in /usr/lib/python2.5/lib-dynload.
If I import python_grass6 inside python I've this message:
Traceback (most recent call last):
File "<pyshell#0>", line 1, in <module>
import python_grass6
File "/usr/lib/python2.5/lib-dynload/python_grass6.py", line 7, in <module>
import _python_grass6
ImportError: /usr/lib/python2.5/lib-dynload/_python_grass6.so: undefined symbol: __stack_chk_fail_local.
I've still problems with GRASS/swig/python. I've
build python_grass6.py and _python_grass6.so with make
command in /swig/python directory and I copied the files in
/usr/lib/python2.5/lib-dynload.
If I import python_grass6 inside python I've this
message:
Traceback (most recent call last):
File "<pyshell#0>", line 1, in
<module>
import python_grass6
File
"/usr/lib/python2.5/lib-dynload/python_grass6.py",
line 7, in <module>
import _python_grass6
ImportError:
/usr/lib/python2.5/lib-dynload/_python_grass6.so: undefined
symbol: __stack_chk_fail_local.
did you run make clean after previous attempts? maybe it needs to be rebuilt from scratch.
Re: Compile glibc got error `__stack_chk_fail_local'
"I had the same error.
The reason: An already compiled xxx.o file which "uses" the __stack_chk_fail_local.
This is the cause of not compiling the original xxx.cxx file due to performance.