Problems with installation of Mapserver 5.0.0

William Hudspeth bhudspeth at EDAC.UNM.EDU
Thu Jan 24 13:42:57 EST 2008


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