[C++-sig] Re: Embedded Python plus module loading

David Abrahams dave at boost-consulting.com
Mon Mar 21 10:27:34 CET 2005


Daniel Holth <dholth at fastmail.fm> writes:

> Okay, I've put a minimal example together.
>
> http://dingoskidneys.com/~dholth/minimal-embedding-failure.zip
>
> It is the embedding example from boost, with an "import sha" statement
> added inside it. sha depends on some dynamically loaded code. When I try
> to run it, it says:
>
> ImportError: /usr/lib/python2.3/lib-dynload/sha.so: undefined symbol:
> Py_FindMethod

You should post this question on comp.lang.python; it's really not a
Boost-related problem.  I'm sure someone there knows how to deal with
it.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com




More information about the Cplusplus-sig mailing list