Python mapscript and AGG

James Lindstorff jlf at ENIRO.DK
Thu Oct 4 09:10:42 EDT 2007


Having just compiled and tried out mapserver 5.0 with AGG support in CGI
mode (WMS) and being very impressed with the rendering quality I turned to
the Python mapscript I use for producing maps for our production
environment. Here though I ran into a bit of trouble. I get the following
error when doing import mapscript:

Python 2.4.4 (#2, Apr 25 2007, 22:41:41)
[GCC 4.1.3 20070423 (prerelease) (Debian 4.1.2-4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import mapscript
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/usr/lib/python2.4/site-packages/mapscript.py", line 7, in ?
    import _mapscript
ImportError: /usr/lib/python2.4/site-packages/_mapscript.so: undefined
symbol: _ZN3agg12g_sqrt_tableE



More information about the mapserver-users mailing list