Comment 6 for bug 178267

Revision history for this message
moma (osmoma) wrote :

This is an addition to point 1a) of my previous message.
The CPU ZLib test failed with an error message "Cannot load ZLib. /usr/lib/libz.so not found".

So what package provides libz.so?
$ dpkg -S libz.so
zlib1g: /usr/lib/libz.so.1
zlib1g: /usr/lib/libz.so.1.2.3.3

I had already installed the "zlib1g" package so something else had to be wrong. The symbolic link to "libz.so" was missing.
$ ls -l /usr/lib/libz.*
lrwxrwxrwx 1 root root 15 2007-12-22 21:24 /usr/lib/libz.so.1 -> libz.so.1.2.3.3
-rw-r--r-- 1 root root 81240 2007-11-15 13:08 /usr/lib/libz.so.1.2.3.3

This command fixed it.
$ sudo ln -s /usr/lib/libz.so.1 /usr/lib/libz.so

( In some rare cases I've seen that the lib links are not created until you install some additional packages such as dev packages).

And the CPU ZLib test completed just fine
My report: http://www.futuredesktop.org/tmp/hardinfo_report.html
----