Public bug reported:

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://www.edbl.no/tmp/hardinfo-error-2.png

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/libz.so.1.2.3.3

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_open("/usr/lib/libz.so", G_MODULE_BIND_LAZY);

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://bugs.launchpad.net/ubuntu/+source/hardinfo/+bug/178267
----------

** Affects: hardinfo (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Hardinfo: Hardinfo cannot run CPU Zlib benchmark. Cannot find libz.so.
https://bugs.launchpad.net/bugs/178584
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to