Re: __stack_chk_fail_local



On 30 Ago, 12:05, "Marco Bizzarri" <marco.bizza...@xxxxxxxxx> wrote:
On Fri, Aug 29, 2008 at 7:53 PM, gianluca <geonom...@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 Bizzarrihttp://iliveinpisa.blogspot.com/

I've tried with ldd and the library aren't loaded. I don't use my *.i
interface so is quite difficult modify it (realy, the libraru is
supplied with make).

Any suggests?
gianluca
.



Relevant Pages

  • Re: Oracle 10g (release1), AIX, Pro-COBOL, Problems building sample programs
    ... able to see the dependencies, but all seems to be well. ... environment variable that are related to finding paths to libraries ... The output from my test with ldd is shown below:- ... But I guess it just executes it, ...
    (comp.databases.oracle.server)
  • RE: python/svn issues....
    ... i'll try to build berkeley db by hand and see what i get... ... not linked against the Berkeley DB libraries. ... You can check what's linked using ldd, ... If it doesn't look like that, then I'd say your Subversion package was ...
    (comp.lang.python)
  • Re: python/svn issues....
    ... > Traceback: ... not linked against the Berkeley DB libraries. ... You can check what's linked using ldd, ... If it doesn't look like that, then I'd say your Subversion package was ...
    (comp.lang.python)
  • Re: finding libraries at compile - strange problems
    ... CFLAGS etc to include libraries and include files ... the an ldd of the binary in this case it finds libgcc in /usr/local/lib ... (this is the reason that I am not running Sol 10 as this just kept happening with no solution) ...
    (comp.sys.sun.admin)
  • Re: "Undefined symbol" error in Perl module that loads other shared libs
    ... > I created the Perl module using SWIG. ... I've not used SWIG - which probably limits my capacity to provide useful ... It seems to me that, when you've built the executable, you've successfully ... one of those necessary libraries - namely the library that defines ...
    (comp.lang.perl.misc)