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

g_massa at libero.it g_massa at libero.it
Wed Aug 27 15:32:08 EDT 2008


I list,
I've build python_grass6.so and python_grass6.py with make from MakeFile in swig/python directory but if import the library:

import python_grass6

I've that error from python interpreter:

>>> import python_grass6
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  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

Or, in IDLE:
>>> import python_grass6
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: libgrass_I.so: cannot open shared object file: No such file or directory

I'm not a python guru. Could anybody help me?

Thanks

Gianluca





More information about the grass-user mailing list