Re: __stack_chk_fail_local

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • g_massa\@libero\.it

    Re: __stack_chk_fail_local

    Thanks!
    I've resolved the problem with libraries but... I've still error with this message:
    ImportError: ./_python_grass6. so: undefined symbol: __stack_chk_fai l_local

    exuse me, I'm not a guru.

    Gianluca

    ---------- Initial Header -----------
    >From : "Marco Bizzarri" marco.bizzarri@ gmail.com
    To : "gianluca" geonomica@gmail .com
    Cc : python-list@python.org
    Date : Sat, 30 Aug 2008 14:45:05 +0200
    Subject : Re: __stack_chk_fai l_local






    The ldd should point you to the library which is not loaded.
    >
    Maybe the library you need is not in one of the normal locations in
    your Linux/Unix path.
    >
    Normally, the linker looks for library under /lib and /usr/lib, and
    maybe other paths specified in /etc/ld.so.conf
    >
    If you know the library is installed in your system, you can force the
    linker to look for it, either modifying your /etc/ld.so.conf (better
    if you know what you're doing, however) or, just setting the
    LD_LIBRARY_PATH variable:
    >
    export LD_LIBRARY_PATH =/some/non/standard/lib/dir/
    >
    python -c "import foo"
    >
    Another possibility, which you can check googling a little, is that
    you've two different versions of the libarary around your system, and
    that you're loading the wrong one (i.e., python is looking at the
    wrong one)
    >
    again, setting the LD_LIBRARY_PATH should help
    >
    Regards
    Marco
    >
    On Sat, Aug 30, 2008 at 2:33 PM, gianluca <geonomica@gmai l.comwrote:
    On 30 Ago, 12:05, "Marco Bizzarri" <marco.bizza... @gmail.comwrote :
    On Fri, Aug 29, 2008 at 7:53 PM, gianluca <geonom...@gmai l.comwrote:
    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_fai l_local
    >
    Could anybody help me?
    >
    gianluca
    --

    >
    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.blo gspot.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
    --
    >
    >
    >
    --
    Marco Bizzarri

    >
Working...