[C++-sig] Re: Embedded Python plus module loading
Yao Heling
yaoheling at yahoo.com
Mon Mar 21 15:33:37 CET 2005
if my memory serves me right, I had a similar problem
once. One has to
include Python.h or Boost.python headers before other
headers are
included. or change the linking order of shared libs.
Hope that helps.
Joseph H. Yao
On Mon, Mar 21, 2005 at 04:27:34AM -0500, David
Abrahams wrote:
> 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
>
> _______________________________________________
> C++-sig mailing list
> C++-sig at python.org
> http://mail.python.org/mailman/listinfo/c++-sig
>
__________________________________
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.
http://promotions.yahoo.com/new_mail
More information about the Cplusplus-sig
mailing list