Python mapscript and AGG

Howard Butler hobu.inc at GMAIL.COM
Thu Oct 4 07:36:49 PDT 2007


James,

If I recall correctly, this issue is related to AGG not being built  
with -fPIC.

Howard

On Oct 4, 2007, at 8:10 AM, James Lindstorff wrote:

> 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