[mapserver-users] make error - version 5.6.0-rc1 - /usr/bin/ld: cannot find -lxslt

Stephen Woodbridge woodbri at swoodbridge.com
Thu Dec 10 14:23:00 PST 2009


Sounds like a new library dependency that needs to be documented.

yum search libxslt
yum install libxslt-devel

or something like that.

-Steve W

Ted Spradley wrote:
> Hi everybody!
> 
> Building 5.6.0-rc1 on Linux 2.6.23.15-80.fc7
> 
> make exits with the error below after trying to compile shp2img with the
> message: 
> /usr/bin/ld: cannot find -lxslt
> 
> What is xslt that ld is looking for?
> 
> Thanks in advance,
> Ted S.
> 
> gcc -c -O2 -fPIC -Wall     -DHAVE_VSNPRINTF -DNEED_STRLCAT -DNEED_STRRSTR    
> -DUSE_FASTCGI   -DUSE_WMS_LYR -DUSE_WFS_LYR  -DUSE_LIBXML2 -DUSE_CURL
> -DUSE_WCS_SVR -DUSE_WFS_SVR -DUSE_WMS_SVR    -DUSE_POSTGIS  -DUSE_GDAL
> -DUSE_OGR  -DUSE_THREAD -DUSE_PROJ -DUSE_EPPL  -DUSE_AGG     -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/lib/ -I/usr/include/freetype2    -I/usr/local/include    
> -I/usr/local/include -I/usr/include       -I/usr/include
> -I/usr/include/fastcgi  -I/usr/include/libxml2   shp2img.c -o shp2img.o
> g++ -O2 -fPIC -Wall     -DHAVE_VSNPRINTF -DNEED_STRLCAT -DNEED_STRRSTR    
> -DUSE_FASTCGI   -DUSE_WMS_LYR -DUSE_WFS_LYR  -DUSE_LIBXML2 -DUSE_CURL
> -DUSE_WCS_SVR -DUSE_WFS_SVR -DUSE_WMS_SVR    -DUSE_POSTGIS  -DUSE_GDAL
> -DUSE_OGR  -DUSE_THREAD -DUSE_PROJ -DUSE_EPPL  -DUSE_AGG     -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/lib/ -I/usr/include/freetype2    -I/usr/local/include    
> -I/usr/local/include -I/usr/include       -I/usr/include
> -I/usr/include/fastcgi  -I/usr/include/libxml2   shp2img.o  -L. -lmapserver
> -L/usr/lib/ -lgd -ljpeg -lfreetype -lpng -lz -lXpm -lX11      -ljpeg
> -lfreetype -lpng -lz -lXpm -lX11  -L/usr/local/lib -lproj -ljpeg -lpng 
> -L/usr/local/lib -lgdal -I/usr/include -lsqlite3 -L/usr/lib -lexpat -ljpeg
> -lpng -lpq -L/usr/lib -lpq -lz -lm -lrt -ldl -lcurl  -L/usr/lib -lpq
> -lpgport -lxslt -lxml2 -lpam -lssl -lcrypto -lkrb5 -lcom_err -lgssapi_krb5
> -lz -lreadline -lcrypt -ldl -lm   -lcurl     -lpthread -L -lc -L/usr/lib
> -lfcgi -lz -lxml2 -lz -lm  -lm -lstdc++    -o shp2img
> /usr/bin/ld: cannot find -lxslt
> collect2: ld returned 1 exit status
> make: *** [shp2img] Error 1
> 




More information about the MapServer-users mailing list