[mapserver-users] 3.5 compile error

Daniel Ems dems at sdimaps.com
Fri Jan 11 08:15:01 PST 2002


I am trying to compile version 3.5 with pdf support.  I added the four 
directories mentioned in the output from the pdf "make" command to my 
/etc/ld.so.conf file and I ran ldconfig.  However, when running "make" for 
mapserver, I get the following error.  Any ideas?


gcc -O2  -Wall -DIGNORE_MISSING_DATA  -DUSE_EPPL -DUSE_PROJ 
-DUSE_PROJ_API_H -DUSE_WMS   -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG 
-DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_PDF   -DUSE_GDAL   
-I/usr/include -I/root/mapserver/sources/pdflib-4.0.1/pdflib 
-I/root/mapserver/sources/proj-4.4.5//src        -I/usr/local/include    
shp2img.o  -L. -lmap -lgd -L/usr/lib -lgd -ljpeg -lfreetype -lpng -lz 
-L/root/mapserver/sources/pdflib-4.0.1/pdflib/lib -lPDF -ltiff -ljpeg 
-lfreetype -lpng -lz -L/root/mapserver/sources/proj-4.4.5//src/.libs 
-lproj -ljpeg    -L/usr/local/lib -lgdal.1.1     -lm   -o shp2img
/usr/bin/ld: cannot find -lPDF
collect2: ld returned 1 exit status
make: *** [shp2img] Error 1


Thanks!

-- 
Daniel Ems

AM/FM/GIS Technical Support
Spatial Data Integrations, Inc.






More information about the MapServer-users mailing list