Mapserver 5.0.0 installation fails at GEOS

Steve Lime Steve.Lime at DNR.STATE.MN.US
Thu Jan 24 14:48:48 PST 2008


This is GEOS 3.0? I believe there were some earlier versions that were missing those
functions in the C API.

Steve

>>> William Hudspeth <bhudspeth at EDAC.UNM.EDU> 01/24/08 4:06 PM >>>
Hello,

Am trying to install Mapserver 5.0.0 on a machine running SUSE Linux
10.1.

The failure of the installation seems to be associated with GEOS:

/include     -I/usr/local/gdal/include -I/usr/local/pgsql/include
-I/usr/local/geos/include     shp2img.o  -L. -lmapserver
-L/usr/local/gd/lib -lgd -ljpeg -lfreetype -lpng -lz     -ljpeg
-lfreetype -lpng -lz   -L/usr/local/proj/lib -lproj -ljpeg
-L/usr/local/gdal/lib -lgdal -L/usr/lib -lgeos_c -I/usr/include
-lsqlite3 -L/usr/lib -lexpat -ljasper -ljpeg -ltiff -lpng
-L/usr/local/grass-6.0.2/lib -lgrass_vect -lgrass_dig2 -lgrass_dgl
-lgrass_rtree -lgrass_linkm -lgrass_dbmiclient -lgrass_dbmibase
-lgrass_I -lgrass_gproj -lgrass_vask -lgrass_gmath -lgrass_gis
-lgrass_datetime -lpq -L/usr/local/pgsql/lib -lpq -lz -lm -lrt -ldl
-L/usr/lib -lcurl -lidn -lssl -lcrypto -ldl -lz  -L/usr/local/pgsql/lib
-lpq  -L/usr/lib -lcurl -lidn -lssl -lcrypto -ldl -lz
-L/usr/local/geos/lib -lgeos_c  -lc  -lz  -lm -lstdc++  -o shp2img
./libmapserver.a(mapgeos.o): In function `msGEOSLength':
mapgeos.c:(.text+0xf22): undefined reference to `GEOSLength'
./libmapserver.a(mapgeos.o): In function `msGEOSArea':
mapgeos.c:(.text+0xf92): undefined reference to `GEOSArea'
collect2: ld returned 1 exit status
make: *** [shp2img] Error 1

I had previously installed GEOS 3.0.0 with the following argument to
configure:

--with-geos=/usr/local/geos/bin/geos-config

I would appreciate any insight. Thanks, Bill



More information about the MapServer-users mailing list