[mapserver-users] missing __init__ when building Python wrapper
Tom Russell
tomr at cliffie.nosc.mil
Fri Nov 9 17:36:39 PST 2001
After generating the C wrapper with SWIG, and building mapscriptmodule.sl, I attempt to import mapscript from the Python interactive interpreter. I get the following error:
File "mapscript.py", line 2, in ?
import mapscriptc
ImportError: dynamic module does not define init function (initmapscriptc)
Looking in mapscript_wrap.c, however, I find that initmapscriptc is actually defined, yet is apparently not making it into the shared library accessible to the interpreter.
Thanks for any help
Tom
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20011109/bcd42604/attachment.htm>
More information about the MapServer-users
mailing list