[gdal-dev] Compilation problems on CentOS 5

Peter Hopfgartner peter.hopfgartner at r3-gis.com
Fri May 7 10:53:53 EDT 2010


Hello

I'm trying to compile GDAL 1.7.2 on my CentOS 5.4, 64 bit box. Configure
is basically "enable Oracle, disable almost anything else":

./configure --without-php --without-python --without-perl --with-oci
--with-ecw --with-libtiff=internal --with-geotiff=internal
--with-netcdf=no --with-cfitsio=no

Compilation stops with:

libtool: link: g++ .libs/gdalinfo.o
-o .libs/gdalinfo  /home/rpmbuild/tmp/gdal-1.7.2/.libs/libgdal.so
-Wl,-rpath -Wl,/usr/local/lib
/home/rpmbuild/tmp/gdal-1.7.2/.libs/libgdal.so: undefined reference to
`XML_StopParser'
collect2: ld returned 1 exit status
make[1]: *** [gdalinfo] Error 1
make[1]: Leaving directory `/home/rpmbuild/tmp/gdal-1.7.2/apps'
make: *** [apps-target] Error 2

Where should the symbol "XML_StopParser" come from?

The same configure works perfectly with 1.6.3 on the same box.

Regards,

peter



-- 
Dott. Peter Hopfgartner

R3 GIS Srl - GmbH
Via Johann Kravogl-Str. 2
I-39012 Meran/Merano (BZ)
Email: peter.hopfgartner at r3-gis.com
Tel. : +39 0473 494949
Fax  : +39 0473 069902
www  : http://www.r3-gis.com

XING : http://www.xing.com/go/invita/8917535



More information about the gdal-dev mailing list