Re: __stack_chk_fail_local



On Fri, Aug 29, 2008 at 7:53 PM, gianluca <geonomica@xxxxxxxxx> wrote:
hy list,
I've built _libfoo.so and libfoo.py library with swig and I've copied
in /usr/lib/python2.5/lib-dynload/ but when import the module

import libfoo

I've that message

Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: /usr/lib/python2.5/lib-dynload/_libfoo.so: undefined
symbol: __stack_chk_fail_local

Could anybody help me?

gianluca
--
http://mail.python.org/mailman/listinfo/python-list


Have you tried to use ldd against the _libfoo.so to check if it is
able to get all the libraries it needs?

Regards
Marco

--
Marco Bizzarri
http://iliveinpisa.blogspot.com/
.



Relevant Pages

  • __stack_chk_fail_local
    ... I've built _libfoo.so and libfoo.py library with swig and I've copied ... Traceback: ...
    (comp.lang.python)
  • Re: [SWIG] generating libraries
    ... If I have a library (as a DLL), I actually have to create another DLL ... Yup, thats correct, thats just the way SWIG works in general, for all ... Loads of libraries have SWIG interfaces.. ... all have thier own independant SWIG wrappers. ...
    (comp.lang.smalltalk)
  • Re: Using C++ and ctypes together: a vast conspiracy? ;)
    ... Boost.Python + pygccxml achieve? ... We're not yet sold on using SWIG to wrap our C++ libraries and so we're exploring alternatives. ... The arguments I recall reading that swayed me to try SWIG before Boost were -- ...
    (comp.lang.python)
  • Re: Q: FFI and C++?
    ... can generate ANSI C wrapper code around C++ classes / libraries. ... it has existing Ruby classes for making use of the parse. ... We use SWIG at the moment to generate a wrapper, but this means that hacking on the core library is a daunting prospect. ...
    (comp.lang.ruby)
  • Re: Standard Forth versus Python: a case study
    ... Libraries in Linux and OS X would right off the bat open applications ... All other languages have de facto solutions. ... There are SWIG backends for quite a few ...
    (comp.lang.forth)