[GRASS-user] Re: GRASS-python-swig

Hamish hamish_b at yahoo.com
Sun Aug 31 02:33:16 EDT 2008


> 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.


google found:
 http://ubuntuforums.org/showthread.php?t=352642
====
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.

Solution: make clean
and than make

Hope this helps....
PS: always make clean"
=====


which seems to support that theory.


Hamish



      



More information about the grass-user mailing list