[Gdal-dev] undefined reference to `xercesc_2_5

Frank Warmerdam fwarmerdam at gmail.com
Mon Mar 7 10:43:27 EST 2005

On Mon, 7 Mar 2005 08:07:26 -0700, Cavner, Jeff <jcavner at edac.unm.edu> wrote:
> Thanks for any pointers or advice.  I have noticed people using the nm
> command to root these kinds of things out, but am unsure of what I am
> looking at, or how to proceed.  My Xerces install seems alright and has
> worked for gdal-1.1.9. 
> ../.libs/libgdal.so: undefined reference to
> `xercesc_2_5::XMLPlatformUtils::Init 
> ialize(char const*, char const*, xercesc_2_5::PanicHandler*,
> xercesc_2_5::Memory 
> Manager*)' 
> ../.libs/libgdal.so: undefined reference to
> `xercesc_2_5::SAX2XMLReaderImpl::SAX 
> 2XMLReaderImpl(xercesc_2_5::MemoryManager*, xercesc_2_5::XMLGrammarPool*)' 
> ../.libs/libgdal.so: undefined reference to `typeinfo for
> xercesc_2_5::XMLExcept 


I don't see any obvious reason you would be running into a problem.
I would suggest reposting with the link line, and a compile line from
the "gml" driver area of the build.  Basically, we want to verify that
you are linking against the same library that was used for include 
files when compile. 

If that looks ok, I am not sure what to suggest. 

BTW, I have recently build with Xerces 2.6 and the development
GDAL with no problem.  I also use Xerces 2.2 on another platform.

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