zlib and Debian Squeeze

bart613

New member
Joined
May 1, 2011
Messages
2
Not sure whether this is the right place to post this question or should I post it in Debian Squeeze thread, but anyway, I've Direct Admin installed on CentOS 5 which has been running for quite a while, however I'd like to switch towards Debian.

Now, I love custombuild and would like to keep using it, however it seems like eventhough some of the software is available on OS by default (zlib) custombuild is still trying to install its own zlib into /usr/local prefix.

While on CentOS it doesn't cause much of an issue as the version of zlib being installed by OS and custombuild are the same (1.2.3) on Debian it causes annoying warnings, like this one:

Code:
# apt-get update
apt-get: /usr/local/lib/libz.so.1: no version information available (required by /usr/lib/libapt-pkg.so.4.10)
/usr/lib/apt/methods/http: /usr/local/lib/libz.so.1: no version information available (required by /usr/lib/libapt-pkg.so.4.10)
/usr/lib/apt/methods/http: /usr/local/lib/libz.so.1: no version information available (required by /usr/lib/libapt-pkg.so.4.10)
/usr/lib/apt/methods/http: /usr/local/lib/libz.so.1: no version information available (required by /usr/lib/libapt-pkg.so.4.10)

While its not a massive showstopper and I can simply manually relink those, I wanted to check what is the preferred method of working through this kind of issue.

Is there any specific reason why zlib provided by OS cannot be used (testing? I understand all testing is done against CentOS / RedHat)? The same situation goes with other libraries which are also available through distribution channels, i.e libpng, libcurl, libxml etc.

Any advice much appreciated.
 
I would really recommend that you contact Directadmin support directly on email regarding this.

I don't know what version of Zlib that is used by Debian, but I like to mention that you have the option to install a newer Zlib version in Custombuild. You can install Zlib 1.2.6 and LibXML 2.7.8 in Custombuild. Maybe that will fix your problem? Please see this post:

http://www.directadmin.com/forum/showthread.php?t=43000&p=218293#post218293

Quote: "What I can do, is simply add a custombuild options.conf setting like "new_zlib=yes", where the default is no.
If you want the new zlib, set it to yes, and the versions.txt will have extra entries for the newer version of zlib and xml2."

Also http://www.directadmin.com/forum/showthread.php?t=43000&p=218321#post218321 (from the same forum thread).

I would recommend you read the entire forum thread in the link above, to get all information around this. DirectAdmin first upgraded Zlib and LibXML in Custombuild, but due to problems because OS version of Zlib and LibXML was older (in CentOS), they had to downgrade. So no the newer versions is only a option. You could try it.
 
Thanks for reply, ditto.

Thanks to your link I've discovered that Debian Squeeze is being shipped with zlib newer then 1.2.3 (1.2.3.3 to be exact) hence the warnings when using 1.2.3.

I've updated to 1.2.6 as per instructions and all problems seem to be gone!

Cheers!
 
Back
Top