Open GoogleCodeExporter opened 9 years ago
It appears to be using libxml2 from /usr, can you include the following 2
pieces of information to help
diagnose this?
1) /usr/bin/xml2-config --version
2) What is LIBXML_VERSION defined to in
/usr/include/libxml2/libxml/xmlversion.h?
What it looks like is happening is xmlDictCleanup() doesn't exist in libxml2
versions prior to 2.6.18. For
versions between the minimum supported 2.6.11 and 2.6.18, we define
xmlDictCleanup() to nothing in
lib/archive.c.
Due to the way apple updates their component libraries and executables in
software updates, but header files
are only updated in Xcode updates, it is frequently possible for header files
to get out of sync with libraries
and other command line tools. I'm wondering if that is the case here.
Original comment by bbraun
on 19 Feb 2008 at 9:18
[deleted comment]
Thanks for taking this issue.
Here the version infos:
~/work/xar-1.5.2 > /usr/bin/xml2-config --version
2.6.16
~/work/xar-1.5.2 > grep LIBXML_VERSION /usr/include/libxml2/libxml/xmlversion.h
* LIBXML_VERSION:
#define LIBXML_VERSION 20616
* LIBXML_VERSION_STRING:
#define LIBXML_VERSION_STRING "20616"
* LIBXML_VERSION_EXTRA:
#define LIBXML_VERSION_EXTRA ""
Not fully understanding this but "xmlDictCleanup" doesn't seem to be specially
treated:
~/work/xar-1.5.2 > grep xmlDictCleanup lib/*
lib/archive.c:
xmlDictCleanup();
lib/archive.c: xmlDictCleanup();
lib/archive.c: xmlDictCleanup();
lib/archive.c: xmlDictCleanup();
lib/archive.c: xmlDictCleanup();
Binary file lib/archive.o matches
Original comment by axel.roe...@googlemail.com
on 20 Feb 2008 at 5:53
It rechecked with the svn xar-read-only version. No problem there.
Original comment by axel.roe...@googlemail.com
on 20 Feb 2008 at 6:31
Ah, I see. Yes, 1.5.2 seems to be missing the #define that xar trunk has,
specifically from lib/archive.c:
#if LIBXML_VERSION < 20618
#define xmlDictCleanup() /* function doesn't exist in older API */
#endif
I apologize for the omission in 1.5.2. If a 1.5.3 gets planned, I will include
this. 1.6 is planned to come from
trunk, which already has this fix in it.
Original comment by bbraun
on 20 Feb 2008 at 2:09
Same on Intel Core 2 Duo
Original comment by karl.hoo...@gmail.com
on 12 Sep 2011 at 5:22
Original issue reported on code.google.com by
axel.roe...@googlemail.com
on 19 Feb 2008 at 8:56