[mapserver-users] About projection error in Python bindings

Thomas Gratier osgeo.mailinglist at gmail.com
Sat Jun 1 14:21:34 PDT 2013


Hello list,

I am unable to run Python Mapscript without an error
loadProjection(): Projection library error. Projection support is not
available
It happens for example in tests with maptest.py

My main problem here is that I have set PROJ_LIB=/usr/share/proj/ and  I
always have this error. On  the other side, from
http://myserver/cgi-bin/mapserv?..., it's fine.

I have done the compilation on Ubuntu 12.04 with Mapserver 6.2.1 with the
following configuration

./configure --with-proj=/usr/local --with-ogr=/usr/local/bin/gdal-config
--with-gdal=/usr/local/bin/gdal-config
--with-geos=/usr/local/bin/geos-config --with-wmsclient --with-wfsclient
--with-wcs --with-wfs --with-postgis=yes --with-kml=yes
--with-xml-mapfile=yes --with-xslt=yes
--with-xml2-config=/usr/bin/xml2-config --with-fribidi-config=yes
--with-sos --with-curl-config=/usr/bin/curl-config --with-fastcgi=yes
--with-cairo=yes --with-python=/usr/bin/python2.7 --enable-python-mapscript

Any ideas?

Regards

Thomas Gratier
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20130601/4ecdb827/attachment.html>


More information about the mapserver-users mailing list