[mapserver-users] cannot find -lPDF

Pericles S. Nacionales pnaciona at gis.umn.edu
Fri Feb 1 11:22:04 EST 2002


Joao,

On Thu, 31 Jan 2002 joao at pmpf.rs.gov.br wrote:

> Hello all,
> 
> I'm trying to configure mapserver with this options:
> 
> /configure --with-postgis=/usr/local/pgsql/bin/pg_config
> --with-pdf=/usr/local/pdflib/ --with-proj=/usr/local/proj4/
> --with-php=/root/php-4.0.6 --with-apxs=/usr/local/apache/bin/apxs
> --enable-shared-pdflib --with-zlib=/usr/local/zlib/     
> 
> but this error has occured:
> 
> /usr/bin/ld: cannot find -lPDF
> collect2: ld returned 1 exit status
> make: *** [shp2img] Error 1  
> 
>

Try replacing -lPDF with -lpdf.  Check the PDF settings on your MapServer
makefile--make sure the PDF_OBJ line equals mappdf.o.

 I already add /usr/local/pdflib in the ld.so.conf 
> 
> Does anybody has any idea how to fix this erro?
> 
> Thaks
> João
> 
> 
> -- 
> www.pmpf.rs.gov.br
> 
> 
> 

Good luck!
-Perry




More information about the mapserver-users mailing list