Hi all,<br><br>I&#39;m trying to build Mapserver 5.4.1 against AGG 2.4 with Python Mapscript on Centos 5 and I&#39;m having some trouble.<br><br>I followed the instructions on <a href="http://mapserver.org/installation/unix.html">http://mapserver.org/installation/unix.html</a> and modified the Makefile.in.Linux of AGG to include the -fPIC option to support mapscript.  AGG seems to build libagg.a just fine in the src directory.<br>

<br>When I build mapserver against that version of AGG, it compiles fine and so do the python bindings.  However, when I install and try to use mapscript in python, I get an error when I try to import the mapscript module:<br>

ImportError: /usr/lib/python2.4/site-packages/_mapscript.so: undefined symbol: _ZN3agg12g_sqrt_tableE<br><br>This appears to be an error due to the -fPIC option not being specified in the AGG build, which I&#39;ve done.<br>

<br>Are there any other steps that must be done to successfully compile Mapserver against AGG to get the python bindings to work?<br><br>Thanks,<br><br>Jason<br>