>From mapscript/python directory I did the following: SWIG Version 1.3.31
swig -python -shadow -modern -o mapscript_wrap.c ../mapscript.i python setup.py install --force /james -----Original Message----- From: Umberto Nicoletti [mailto:[EMAIL PROTECTED] Sent: 4. oktober 2007 16:19 To: James Lindstorff Cc: MAPSERVER-USERS@lists.umn.edu Subject: Re: [UMN_MAPSERVER-USERS] Python mapscript and AGG > 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 > This is using mapscript. Building means: python setup.py build python setup.py install version of swig (type swig -version on a console)? Umberto