[mapserver-users] mapserver 6.0 make error

Travis Kirstine traviskirstine at gmail.com
Tue May 17 07:33:07 PDT 2011


Hi all,
I have been trying to install Mapserver 6.0 and I am running into the
following error.  I thought this could be related to a older version
of GEOS / GDAL so I installed gdal 1.8 and geos 3.2.2.  Any ideas

# static library if it exists.
if test -r libmapserver.so ; then \
          make shared ; \
        fi
gcc -c -g  -fPIC -Wall     -DHAVE_VSNPRINTF -DNEED_STRLCPY
-DNEED_STRLCAT -DNEED_STRRSTR     -DUSE_FASTCGI      -DUSE_WMS_LYR
-DUSE_WFS_LYR  -DUSE_LIBXML2 -DUSE_CURL -DUSE_CURLOPT_PROXYAUTH
-DUSE_WCS_SVR -DUSE_WFS_SVR -DUSE_WMS_SVR   -DUSE_POSTGIS
-DPOSTGIS_HAS_SERVER_VERSION -DUSE_GDAL -DUSE_OGR -DUSE_GEOS
-DUSE_THREAD -DUSE_PROJ -DUSE_AGG_SVG_SYMBOLS    -DUSE_GD_GIF
-DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT
-DGD_HAS_FTEX_XSHOW -DGD_HAS_GDIMAGEGIFPTR -DGD_HAS_GETBITMAPFONTS
-DGD_HAS_GET_TRUE_COLOR_PIXEL -DUSE_ICONV -DUSE_GIF -DUSE_PNG
-DUSE_ZLIB -DUSE_FREETYPE   -DDISABLE_CVSID -I/usr/include/freetype2
  -I/usr/include -Irenderers/agg/include       -I/usr/local/include
-I/usr/include    -I/usr/local/include  -I/usr/include
-I/usr/include/fastcgi  -I/usr/include/libxml2   shp2img.c -o
shp2img.o
g++ -g  -fPIC -Wall     -DHAVE_VSNPRINTF -DNEED_STRLCPY -DNEED_STRLCAT
-DNEED_STRRSTR     -DUSE_FASTCGI      -DUSE_WMS_LYR -DUSE_WFS_LYR
-DUSE_LIBXML2 -DUSE_CURL -DUSE_CURLOPT_PROXYAUTH  -DUSE_WCS_SVR
-DUSE_WFS_SVR -DUSE_WMS_SVR   -DUSE_POSTGIS
-DPOSTGIS_HAS_SERVER_VERSION -DUSE_GDAL -DUSE_OGR -DUSE_GEOS
-DUSE_THREAD -DUSE_PROJ -DUSE_AGG_SVG_SYMBOLS    -DUSE_GD_GIF
-DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT
-DGD_HAS_FTEX_XSHOW -DGD_HAS_GDIMAGEGIFPTR -DGD_HAS_GETBITMAPFONTS
-DGD_HAS_GET_TRUE_COLOR_PIXEL -DUSE_ICONV -DUSE_GIF -DUSE_PNG
-DUSE_ZLIB -DUSE_FREETYPE   -DDISABLE_CVSID -I/usr/include/freetype2
  -I/usr/include -Irenderers/agg/include       -I/usr/local/include
-I/usr/include    -I/usr/local/include  -I/usr/include
-I/usr/include/fastcgi  -I/usr/include/libxml2   shp2img.o  -L.
-lmapserver -lfreetype -L/usr/lib -lgd -ljpeg -lfreetype -lpng -lz
-lXpm -lX11  -lexpat   -lproj -ljpeg -lpng -lgif  -L/usr/local/lib
-lgdal -L/usr/lib -lpq  -L/usr/kerberos/lib -lcurl -ldl -lgssapi_krb5
-lkrb5 -lk5crypto -lcom_err -lidn -lssl -lcrypto -lz
-L/usr/local/lib -lgeos_c -lpthread -lc -L/usr/lib -lfcgi   -lz
-L/usr/lib -lxml2 -lz -lm  -lm -lstdc++    -o shp2img
/usr/bin/ld: warning: libexpat.so.1, needed by
/usr/local/lib/libgdal.so, may conflict with libexpat.so.0
./libmapserver.a(mapgeos.o): In function `msGEOSFreeWKT':
/root/build/mapserver-6.0.0/mapgeos.c:650: undefined reference to `GEOSFree'
./libmapserver.a(mapgeos.o): In function `msGEOSSimplify':
/root/build/mapserver-6.0.0/mapgeos.c:697: undefined reference to `GEOSSimplify'
./libmapserver.a(mapgeos.o): In function `msGEOSTopologyPreservingSimplify':
/root/build/mapserver-6.0.0/mapgeos.c:719: undefined reference to
`GEOSTopologyPreserveSimplify'
/usr/local/lib/libgdal.so: undefined reference to `GEOSUnionCascaded'
collect2: ld returned 1 exit status
make: *** [shp2img] Error 1



More information about the MapServer-users mailing list