[Mapserver-users] 4.0 pdf make error

Joe Smith joe at poconogis.com
Wed Aug 13 13:52:43 EDT 2003


The answer may have been posted, but I didn't catch it.  You can just email
me the solution if you want.  I configured like this:

./configure --with-gd=/home/joe/gd --with-php=/home/joe/php --enable-debug -
-with-pdf=/home/joe/pdflib/bind/c/include

I added a line to the Makefile:

PDF_INC= -I/home/joe/pdflib/bind/c/include
PDF_LIB= -L/home/joe/pdflib/bind/c/include/lib -lpdf
PDF=     -DUSE_PDF
PDF_OBJ= mappdf.o

Here's my error:

/usr/bin/ld: cannot find -lpdf
collect2: ld returned 1 exit status
make: *** [shp2img] Error 1

Any suggestions?

Joe




More information about the mapserver-users mailing list