[gdal-dev] problem while installing gdal

Frank Warmerdam warmerda at h...
Mon Nov 13 12:24:07 EST 2000


Chakravarthy Terlapu wrote:
> 
> Hi,
> 
> When I typed in "make" command I got the following errors. Could anyone
> help me what the problem might be
> 
> (cd pymod; make) make[1]: Entering directory
> `/home/cterlapu/gdal-1.1.0/pymod' c++ -shared gdal_wrap.o gdal_custom.o \
> -L.. -lgdal.1.1 -lpng -ldl -lm -o _gdalmodule.so make[1]: Leaving
> directory `/home/cterlapu/gdal-1.1.0/pymod' (cd apps; make) make[1]:
> Entering directory `/home/cterlapu/gdal-1.1.0/apps' c++ gdalinfo.o
> /home/cterlapu/gdal-1.1.0/gdal.a /home/cterlapu/gdal-1.1.0/ogr/ogr.a
> /home/cterlapu/gdal-1.1.0/frmts/o/*.a /home/cterlapu/gdal-1.1.0/gdal.a
> /home/cterlapu/gdal-1.1.0/port/cpl.a -lpng -ldl -lm \
> -o gdalinfo /usr/lib/libpng.so: undefined reference to `crc32'
> collect2: ld returned 1 exit status make[1]: *** [gdalinfo] Error 1
> make[1]: Leaving directory `/home/cterlapu/gdal-1.1.0/apps'
> make: *** [default] Error 2

Chak,

This seems to be some sort of difference between the version of zlib you
have installed, and the includes files GDAL is using (from gdal/frmts/zlib).
I would suggest rerunning configure with --with-libz=internal.

eg.
% configure --with-libz=internal

Best regards,

---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerda at h...
light and sound - activate the windows | http://members.home.com/warmerda
and watch the world go round - Rush | Geospatial Programmer for Rent




More information about the Gdal-dev mailing list