SWIG problems - "ImportError: dynamic module does not define......."

Chris Hodapp c.hodapp at softhome.net
Wed Dec 17 05:02:22 CET 2003

rbsharp at gmx.de (Richard Sharp) wrote in message news:<brmf66$4qq93$1 at ID-185495.news.uni-berlin.de>...
> Hello,
> I am not at my home office at the moment but you will probably find the 
> following link helpful:
> http://groups.google.de/groups?hl=de&lr=&ie=UTF-8&oe=utf-
> 8&threadm=mailman.999029862.20314.python-
> list%40python.org&rnum=7&prev=/groups%3Fhl%3Dde%26ie%3DUTF-8%26oe%3Dutf-
> 8%26q%3Dpython%2Bdistutils%2Bexport%26sa%3DN%26tab%3Dwg
> Richard Sharp

Thank you. That information, along with GCC's manual pages, helped me
to get everything working. What eventually worked was 'gcc example.c
example_wrap.c -I/usr/include/python-2.3 -Xlinker -export-dynamic
-shared -o _example.c'.


More information about the Python-list mailing list