[mapserver-users] Pyhton mapscript import error
Guillaume Sueur
no-reply at neogeo-online.net
Tue Feb 17 17:26:30 PST 2009
Hi,
python mapscript + agg is a real pain
I grabbed a howto file some months ago, on PerryGeo blog
(http://www.perrygeo.net/wordpress/)
find it here as attachment
it works fine. I've just tested it again few minutes ago.
Regards
Guillaume
gautamvs a écrit :
> I am getting error while importing mapscript in python
>
> <snip>
>>>> import mapscript
> Traceback (most recent call last):
> File "<stdin>", line 1, in ?
> File "mapscript.py", line 7, in ?
> import _mapscript
> ImportError: /usr/local/lib/python2.4/site-packages/_mapscript.so: undefined
> symbol: _ZN3agg6gse5x7E
> </snip>
>
> when i removed the AGG suport in Mapserver , i am able to import without any
> error.
>
> But my application requires AGG support (ie. with Tilecache)
>
> I am using Mapserver 5.2.1, AGG 2.5, Python 2.4 on CentOS.
>
> Thanks for any help.
>
> Gautam
>
>
>
>
>
>
>
>
>
>
>
>
>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: agg_mapserver.txt
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20090218/90ebe546/attachment.txt>
More information about the MapServer-users
mailing list