Hardinfo: Hardinfo cannot run CPU Zlib benchmark. Cannot find libz.so.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
hardinfo (Debian) |
Fix Released
|
Unknown
|
|||
hardinfo (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
Binary package hint: hardinfo
This installation is a 32 bits version of Hardy Heron Test 2.
I start the "hardinfo" utility and try to run the CPU ZLib benchmark on it.
But it fails with an error message: "Cannot load ZLib. /usr/lib/libz.so not found".
See picture: http://
I had already installed the "zlib1g" package so something else had to be wrong. The symbolic link to "libz.so" is 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/
This error can be fixed by installing the development package "zlib1g-dev" . It creates the missing sym link to libz.so.
Hardinfo should not be dependent on the 2zlib1g-dev development package.
----------
A question:
I was told that the actual program line (in the source) is
libz = g_module_
Why does it use a fixed library path (/usr/lib/)?
Maybe the path is different on other Linux-distributions (eg. /lib/ or /usr/local/lib/)?
----------
Study also this related bugreport: https:/
----------
Changed in hardinfo: | |
status: | Unknown → New |
Changed in hardinfo: | |
status: | New → Won't Fix |
Changed in hardinfo (Debian): | |
status: | Won't Fix → Fix Released |
Please add any additional remark you feel is needed in the bug I opened in Debian (see link above).