[Mapserver-users] Compiling stops: cannto find -lPDF

Benjamin Thelen benjamin.thelen at ccgis.de
Tue Apr 29 07:48:27 PDT 2003


Hi,

after finally ./configure was successful, make stops. Please see below:

root at qwertzuiop# make
gcc -O2  -Wall   -DIGNORE_MISSING_DATA  -DUSE_EPPL -DUSE_PROJ -DUSE_PROJ_API
_H -DUSE_WMS -DUSE_WMS_LYR   -DUSE_TIFF -DUSE_JPEG -DUSE_GD_GIF -DUSE_GD_PNG
 -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR -DUSE_PDF  -
DUSE_OGR -DUSE_GDAL  -DUSE_POSTGIS    -I/usr/local/include -I/usr/local/incl
ude -I/usr/local/include  -I/usr/local/include      -I/usr/local/include -I/
usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/in
clude/w3c-libwww -DHAVE_CONFIG_H

shp2img.o  -L. -lmap -lgd -L/usr/local/lib -lgd -L/usr/local/lib -ljpeg -L/u
sr/local/lib -lfreetype -lz -L/usr/local/lib -lpng -lz -L/usr/local/lib -lPD
F -ltiff -L/usr/local/lib -ljpeg -L/usr/local/lib -lfreetype -lz -L/usr/loca
l/lib -lpng -lz -L/usr/local/lib -lproj  -L/usr/local/lib -ljpeg   -L/usr/lo
cal/lib -lgdal.1.1   -L/usr/local/lib -lpq -L/usr/local/lib -lwwwxml -lxmlto
k -lxmlparse -lwwwzip -lwwwinit -lwwwapp -lwwwhtml -lwwwtelnet -lwwwnews -lw
wwhttp -lwwwmime -lwwwgopher -lwwwftp -lwwwfile -lwwwdir -lwwwcache -lwwwstr
eam -lwwwmux -lwwwtrans -lwwwcore -lwwwutils -lmd5 -lz     -lm   -o shp2img
/usr/libexec/elf/ld: cannot find -lPDF
*** Error code 1

Stop in /tmp/downloaded/mapserver-3.6.5.



I don't understand, why make cannot find lPDF, because of this (excerpt from
configure-output):

checking whether we should include PDF support...
        using libpdf from -L/usr/local/lib -lPDF.


This seems to be quite obvious no error. The complete configure-output is
below. I have installed libPDF 4.x and libPDF 5.0.0. Is it one to much?


Has anybody an idea?


Thanks,
Benjamin





./configure --with-gd --with-gdal --with-ogr --with-proj=/usr/local --with-j
peg=/usr/local --with-pdf=/usr/local --with-png=/usr/local --with-zlib --wit
h-freetype --with-php=/usr/ports/www/mod_php4/work/php-4.3.1 --with-wmsclien
t --with-postgis --enable-runpat
loading cache ./config.cache
checking for gcc... (cached) gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for c++... (cached) c++
checking whether the C++ compiler (c++  ) works... yes
checking whether the C++ compiler (c++  ) is a cross-compiler... no
checking whether we are using GNU C++... (cached) yes
checking whether c++ accepts -g... (cached) yes
checking for ranlib... (cached) ranlib
checking for flex... (cached) flex
checking for yywrap in -lfl... (cached) yes
checking for bison... (cached) bison -y
checking if compiler supports -R... (cached) yes
checking for exp in -lm... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking for ANSI C header files... (cached) yes
checking for strcasecmp... (cached) yes
checking for strncasecmp... (cached) yes
checking for strdup... (cached) yes
checking whether we should include JPEG support...
        using libjpeg from system -L/usr/local/lib -ljpeg
checking which version of GD to use...
        using libgd from system libs.
checking where FreeType is installed...
checking for freetype-config... (cached) /usr/local/bin/freetype-config
        using libfreetype from -L/usr/local/lib -lfreetype -lz
checking for FT_Init_FreeType in -lfreetype... no
checking for TT_Init_FreeType in -lttf... no
        using libfreetype -L/usr/local/lib -lfreetype -lz from system libs.
checking where Zlib is installed...
checking for zlibVersion in -lz... yes
        using libz from system libs.
checking where PNG is installed...
        using libpng from -L/usr/local/lib -lpng
checking for gdImageCreate in -lgd... yes
checking for gdImageGif in -lgd... yes
checking for gdImagePng in -lgd... yes
checking for gdImageJpeg in -lgd... yes
checking for gdImageWBMP in -lgd... yes
checking for gdImageStringFT in -lgd... yes
checking for gdImageString16 in -lgd... yes
checking for gdImageGifPtr in -lgd... yes
        using GD
( -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS
_GDIMAGEGIFPTR) from system libs.
checking whether we should include PDF support...
        using libpdf from -L/usr/local/lib -lPDF.
checking whether we should include TIFF support...
checking for TIFFOpen in -ltiff... yes
        using libtiff from system libs.
checking whether we should include EPPL7 support...
        including EPPL7 support.
checking whether we should include PROJ.4 support...
checking for pj_transform in -lproj... yes
checking for pj_latlong_from_proj in -lproj... yes
        using PROJ.4 from /usr/local.
checking whether we should include thread safe support...
        thread safe support disabled.
checking whether we should include ESRI SDE support...
        ESRI SDE support not requested.
checking whether we should compile in MPATROL support...
        MPATROL support not requested.
checking whether we should include OGR support...
checking for gdal-config... (cached) /usr/local/bin/gdal-config
checking for OGRRegisterAll in -lgdal.1.1... (cached) yes
        using OGR from system libs.
checking if GDAL support requested... yes
checking if PostGIS support requested... yes
checking for pg_config... (cached) /usr/local/bin/pg_config
yes, user supplied pg_config
checking if OracleSpatial support requested... no
checking whether we should include WMS support...
        OGC WMS compatibility enabled (-DUSE_WMS).
checking whether we should include WMS Client Connections support...
checking for libwww-config... (cached) /usr/local/bin/libwww-config
        found libwww version 5.4.0
        OGC WMS Client Connections enabled (-DUSE_WMS_LYR).
checking for potential conflict between system regex and rxposix...
checking for regexec in -lrx... (cached) no
Compiling with -DIGNORE_MISSING_DATA.
checking whether we should enable debug features...
checking for PHP/MapScript module options...
checking whether 'perl -V' works... yes
checking for location of config.h or php_config.h...
/usr/ports/www/mod_php4/work/php-4.3.1/main/php_config.h
checking whether we have PHP3 or PHP4... -DPHP4
checking whether we should use PHP's regex... no
        PHP/MapScript module configured.
updating cache ./config.cache
creating ./config.status
creating Makefile
creating mapscript/php3/Makefile




More information about the MapServer-users mailing list