Hi all,

It appears that, at least on Linux and Solaris, the libxml2.so built as part of OOo is configured in such a way that it has a dependency on libz.so. This is a problem, as OOo only contains a static version of libz (linked into some libs like svx or similar IIRC, but *not* used to fulfill the dependency of libxml2.so) so that, at runtime, the libxml2.so contained in the OOo installation has a dependency on a libz.so found in the system. There can be any kind of mismatch between the two, or libz.so can even be completely missing on a machine. See <http://qa.openoffice.org/issues/show_bug.cgi?id=103585> for one issue caused by this.

The easiest fix would be to disable zlib support when configuring and building OOo's libxml2. The open question is whether any other OOo code depends on the functionality enabled by libxml2's zlib support (presumably automatic access of XML streams within zip files). I assume that there is no such code, especially since at least the Windows (wntmsci12) version of libxml2.dll appears to be built without zlib support, anyway.

So, if nobody requests continued support for zlib in libxml2, I will disable that feature in one of the next DEV300 builds.

-Stephan

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to