Jump to: navigation, search

Report Issues (via Forums) and/or TWEET:@rootvgnet

MD5 Checksum

90B387D8FB595C11FD7F2AC47395DB8D aixtools.xmlsoft.libxml2.

Package Details

Sources from:
Depends on: 

--Michael Felt (talk) 11:27, 2 November 2016 (UTC)

Repackaged as version with both 32-bit and 64-bit libraries.
Any executables are 64-bit.
Also see libxslt

--Michael Felt (talk) 11:09, 4 June 2016 (UTC)

Starting with libxml2-2.9.4 I am changing the package name to include xmsoft to
denote it's source.

As far as I know libxml2 has it's origin in GNOME. However, I consider TOOLS section more appropriate as libxml2 is so widely used.

Starting with libxml2-2.9.0 there is a change to the structures that may break older
program's build/compilation. Noticeably, php-5.2.17 must be compiled against libxml2.7.X

In libxml2-2.9.0 the xmlBuffer structure has been redefined - in ./include/libxml/tree.h there is now:

 * xmlBuffer:
 * A buffer structure, this old construct is limited to 2GB and
 * is being deprecated, use API with xmlBuf instead
typedef struct _xmlBuffer xmlBuffer;
typedef xmlBuffer *xmlBufferPtr;
struct _xmlBuffer {
    xmlChar *content;           /* The buffer content UTF8 */
    unsigned int use;           /* The buffer size used */
    unsigned int size;          /* The buffer size */
    xmlBufferAllocationScheme alloc; /* The realloc method */
    xmlChar *contentIO;         /* in IO mode we may have a different base */

 * xmlBuf:
 * A buffer structure, new one, the actual structure internals are not public

typedef struct _xmlBuf xmlBuf;

While packaging an old version of php-5.2 I syntax errors prevented compiling several parts of that php.

Result || Solution

I reinstalled an older version of libxml2 (version 2.7.7) and the compilation went forward as expected. So, the warning is that you keep an older version (pre 2.9.0) for compatibility issues - as least for packaging or compiling older versions of software.


D7C146739AEA4FF127F24E9BC3B75A40 aixtools.xmlsoft.libxml2.
B3F8A989C5C01D57B0E831567A8E39FC aixtools.libxml2.
29339AFB84B98DC242045845B82CF52E aixtools.libxml2.
E880D9D885A628D85AA046B9FA7CDBD2 aixtools.libxml2.2.7.7.I
Personal tools