[mapserver-users] compile problems

joao at pmpf.rs.gov.br joao at pmpf.rs.gov.br
Tue Feb 5 11:14:32 PST 2002


i had compile 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/     


I'm was having this trouble:

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

so, as suggest, i exchange lPDF to lpdf and now i had this trouble:

shp2pdf.o: In function `main':
shp2pdf.o(.text+0x4aa): undefined reference to `msDrawMapPDF'
collect2: ld returned 1 exit status
make: *** [shp2pdf] Error 1 

Anybody could help me fix it?

Thanks
João






More information about the MapServer-users mailing list