[Gdal-dev] Compilation with Xerces 2.6 on Redhat 9

Frank Warmerdam fwarmerdam at gmail.com
Thu Feb 10 11:32:03 EST 2005


On Thu, 10 Feb 2005 17:02:04 +0100, Pirmin Kalberer
<sp_ml at sourcepole.com> wrote:
> Hi,
> 
> Configuring gdal 1.2.5 with Xerces 2.6.0 ends up with the following messages:
> 
> ...
> checking for Xerces C++... requested, but compile or link fails!
> 
> g++ -I/usr/include -I/usr/include/xercesc -o conftest conftest.cpp -L/usr/lib
> -lxerces-c -lpthread -lz -lm -ldl
> 
> /usr/bin/ld: warning: libstdc++.so.6, needed by /usr/lib/libxerces-c.so, may
> conflict with libstdc++.so.5
> 
> configure: error: Please correct Xerces options, or don't enable Xerces.

Pirmin, 

I would suggest recompiling Xerces locally with whatever compiler you are
using for GDAL.  I suppose this might be messy if you are determined to 
operate from RPMs. 

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