[mapserver-users] Mapserver installation
Jeff McKenna
jmckenna at gatewaygeomatics.com
Sat Jan 1 20:43:51 PST 2011
On 11-01-01 7:40 PM, qazi iqbal wrote:
> I have been trying to install mapserver on a Fedora core 7 server. I
> know little bit about it but not much. I installed all the necessary
> libraries. I run certain issues while configuration of the mapserver,
> but eventually it went fine. Now after configure, I am trying to run
> make command, but it is giving me error. I would really appreciate if
> anyone can help me out of this. Below is the complete error:
> make
> g++ -g -fPIC -Wall -DHAVE_VSNPRINTF -DNEED_STRLCAT
> -DNEED_STRRSTR -DUSE_WMS_LYR -DUSE_WFS_LYR -DUSE_SOS_SVR
> -DUSE_LIBXML2 -DUSE_CURL -DUSE_WCS_SVR -DUSE_WMS_SVR -DUSE_POSTGIS
> -DPOSTGIS_HAS_SERVER_VERSION -DUSE_TIFF -DUSE_GDAL -DUSE_OGR -DUSE_GEOS
> -DGEOS_HAS_SIMPLIFY -DUSE_THREAD -DUSE_PROJ -DUSE_EPPL -DUSE_AGG
> -DUSE_PDF -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 -DUSE_ICONV -DUSE_ZLIB -I/usr/local/include
> -I/usr/local/include/freetype2 -I/usr/local/include
> -I/usr/local/include -I/usr/local/include -I/usr/include
> -I/usr/local/include -I/usr/local/include
> -I/usr/local/include/libxml2 shp2img.o -L. -lmapserver
> -L/usr/local/lib -lgd -ljpeg -lfreetype -lpng -lz -lXpm -lX11 -lpdf
> -ltiff -ljpeg -lfreetype -lpng -lz -lXpm -lX11 -L/usr/local/lib -lproj
> -ljpeg -lpng -L/usr/local/lib -lgdal -lpq -L/usr/lib -lpq -lz -lm -lrt
> -ldl -L/usr/lib -lpq -lpgport -lxslt -lxml2 -lpam -lssl -lcrypto
> -lgssapi_krb5 -lz -lreadline -lcrypt -ldl -lm -L/usr/local/lib -lcurl
> -L/usr/kerberos/lib -L/usr/local/lib -lgeos_c -lpthread -L -liconv -lz
> -L/usr/local/lib -lxml2 -lz -lm -lm -lstdc++ -o shp2img
> /usr/bin/ld: cannot find -lxslt
> collect2: ld returned 1 exit status
> make: *** [shp2img] Error 1
> Thanks and appreciate your help in advance.
I believe it is libxslt that you need. If you do a search of this
mailing list you can find answers such as:
http://osgeo-org.1803224.n2.nabble.com/make-error-version-5-6-0-rc1-usr-bin-ld-cannot-find-lxslt-td4148052.html
-jeff
--
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/
More information about the MapServer-users
mailing list