- Joined
- Feb 27, 2003
- Messages
- 9,158
I've updated custombuild with the new version of LibXML2:
Version: 2.7.8 (from 2.7.6)
and zlib:
Version 1.2.6 (from 1.2.3)
When updating these, you *must* update them as a pair.
zlib is *not* part of the "./build all d", hence you must manually run it first, eg:
If the order is done wrong, these errors have been noted for a few of our test boxes:
Debian
Other things we ran into, but also implemented other fixes in the build script to address them (you do still need to run ./build zlib first though)
CentOS 4
where we added "--with-zlib=/usr/local" to the configure line (it's already in the build script, so you shouldn't run into this particular error.)
FreeBSD 6
which isn't specific to the zlib issue, but is a bug either with FreeBSD 6, or libxml2 on freebsd 6, related to this fix, which is already added into the build script.
Another related package is libxslt, who's version did not change (1.1.26), but you may want to recompile it anyway, as it is linked against libxml2. Note it's part of the "./build all d", so if you do the "all d" version, you shouldn't need to bother with this step, but if you're poking at the issue manually, it is noteworthy.
John
Version: 2.7.8 (from 2.7.6)
and zlib:
Version 1.2.6 (from 1.2.3)
When updating these, you *must* update them as a pair.
zlib is *not* part of the "./build all d", hence you must manually run it first, eg:
Code:
cd /usr/local/directadmin/custombuild
./build update
./build zlib
./build all d
If the order is done wrong, these errors have been noted for a few of our test boxes:
Debian
Code:
/usr/local/lib/libxml2.so: undefined reference to `gzdirect@ZLIB_1.2.2.3'
collect2: ld returned 1 exit status
Other things we ran into, but also implemented other fixes in the build script to address them (you do still need to run ./build zlib first though)
CentOS 4
Code:
./.libs/libxml2.so: undefined reference to `gzdirect'
./.libs/libxml2.so: undefined reference to `gzopen64'
FreeBSD 6
Code:
./configure.lineno: 14568: Syntax error: Bad substitution
Another related package is libxslt, who's version did not change (1.1.26), but you may want to recompile it anyway, as it is linked against libxml2. Note it's part of the "./build all d", so if you do the "all d" version, you shouldn't need to bother with this step, but if you're poking at the issue manually, it is noteworthy.
John