[gdal-dev] Compilation problems on CentOS 5

Peter Hopfgartner peter.hopfgartner at r3-gis.com
Mon May 10 05:30:45 EDT 2010


Frank,

compilation went smooth  using the --without-expat option.

On CentOS 5.4, expat cames as expat-1.95.8.

Thank you for your halp

Peter



--------Frank Warmerdam <warmerdam at pobox.com> wrote--------
Subject: Re: [gdal-dev] Compilation problems on CentOS 5
Date: 07.05.2010 17:36

>Peter Hopfgartner wrote:
>> 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?
>
>Peter,
>
>This is part of the expat library.  You could try configuring
>--without-expat
>to doing a clean build.  I'm guessing you have a version of expat that is
>too
>old, or too new and lacks XML_StopParser.  If you could provide version
>information it might make it possible for us to dig further into the
>issue.
>
>Best regards,
>-- 
>---------------------------------------+--------------------------------------
>I set the clouds in motion - turn up   | Frank Warmerdam,
>warmerdam at pobox.com
>light and sound - activate the windows | http://pobox.com/~warmerdam
>and watch the world go round - Rush    | Geospatial Programmer for Rent
>
>



More information about the gdal-dev mailing list