[mapserver-users] 'errno: 2' on projection

Wendell Turner wendell at enflight.com
Mon May 19 18:32:16 EDT 2008


I'm trying to use the 'projection' tag in a map file, but it
is not working, and would like help.

I'm using Fedora 7, and there is a mapserver 4.10 in a yum
repository, which pulls in proj as a dependency.  However,
when using the 'projection' tag, it gets
  msProcessProjection(): Projection library error. no system list, errno: 2
(which seems to mean 'file not found')

I installed proj-4.6.0.tar.gz from sources, and there are
files in /usr/local/share/proj which are readable by all.

The proj program seems to run by itself, e.g.:
   > proj -V +init=epsg:2163
   #Lambert Azimuthal Equal Area
   ...

The apache error logs don't show anything interesting, but
it still returns this:
  msProcessProjection(): Projection library error. no system list, errno: 2

What is the problem?  What file is mapserver looking for,
and where should it be?  Does Apache want PROJ_LIB defined?

Thanks,

Wendell



More information about the mapserver-users mailing list