[mapserver-users] Compiling Mapserver/Mapscript on Ubuntu

cboline boline at gmail.com
Thu May 7 22:16:41 EDT 2009


When compiling mapscript on ubuntu I'm unable to run the python mapscript
tests.  I get the following error: 

  File "runalltests.py", line 59, in <module>
    m = __import__(test)
  File
"/usr/src/mapserver-5.4.0/mapscript/python/tests/cases/symboltest.py", line
40, in <module>
    from testing import mapscript, MapTestCase
  File "/usr/src/mapserver-5.4.0/mapscript/python/tests/cases/testing.py",
line 61, in <module>
    import mapscript
  File "../../build/lib.linux-x86_64-2.5/mapscript.py", line 7, in <module>
    import _mapscript
ImportError: ../../build/lib.linux-x86_64-2.5/_mapscript.so: undefined
symbol: _ZN3agg12g_sqrt_tableE

I'm running Ubuntu 8.10.  Compiling with gcc 4.3.2.  I've seen elsewhere
that this is an issue caused by using the non PIC version of AGG.  I've
tried recompiling AGG with -fPIC.  I've also modified the makefiles in
mapserver to user -lagg_pic and -laggfontfreetype_pic.

Neither of these help.  

Any advice?? Please?

-- 
View this message in context: http://n2.nabble.com/Compiling-Mapserver-Mapscript-on-Ubuntu-tp2843196p2843196.html
Sent from the Mapserver - User mailing list archive at Nabble.com.



More information about the mapserver-users mailing list