[Mapserver-users] mapserver compilation error

Mukta Telang mukta at darya.nio.org
Wed Sep 17 05:30:09 PDT 2003


Hi,

To compile mapserver, I gave following commands:

./configure --with-jpeg=/usr/local --with-freetype=/usr/local/freetype
--with-zlib=/usr/local --with-png=/usr/local --with-gd=/usr/local/gd
--with-tiff=/usr/local/libtiff3.6 --with-proj=/usr/local/proj
--with-ogr=/usr/local/gdal/bin/gdal-config
--with-gdal=/usr/local/gdal/bin/gdal-config
--with-postgis=/usr/local/pgsql/bin/pg_config --with-wmsclient
--with-curl-config=/usr/local/curl/bin/curl-config
--with-php=/user3/mukta/temp/php/php-4.2.2 

make

And I get following error:

GDALGetColorEntryCount              ./libmap.a(mapdrawgdal.o)
CSLDuplicate                        ./libmap.a(mapresample.o)
ld: fatal: Symbol referencing errors. No output written to shp2img
collect2: ld returned 1 exit status
make: *** [shp2img] Error 1

If I dont give --with-ogr and --with-gdal then I dont get any errors.
What should I do?
Thanks in advance,
regards,
Mukta



More information about the MapServer-users mailing list