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

Pirmin Kalberer sp_ml at sourcepole.com
Thu Feb 10 11:02:04 EST 2005


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.


Versions:

[root at localhost root]# rpm -qa | grep libstdc
libstdc++-ssa-3.5ssa-0.20030801.41
libstdc++-3.2.3-20
libstdc++-devel-3.2.3-20
libstdc++-ssa-devel-3.5ssa-0.20030801.41
compat-libstdc++-devel-7.3-2.96.122
compat-libstdc++-7.3-2.96.122
libstdc++-3.4.2-6.fc3
[root at localhost root]# rpm -qa | grep xerces
xerces-c-devel-2.6.0-0.fdr.0.pm.0.3
xerces-j-2.2.1-11
xerces-c-doc-2.6.0-0.fdr.0.pm.0.3
xerces-c-2.6.0-0.fdr.0.pm.0.3
xerces-c-debuginfo-2.6.0-0.fdr.0.pm.0.3


Any hints?

-- 
Pirmin Kalberer
Sourcepole  -  Linux & Open Source Solutions
http://www.sourcepole.com



More information about the Gdal-dev mailing list