Red Hat Bugzilla – Bug 274381
CPU ZLib test fails
Last modified: 2008-04-04 02:16:41 EDT
Description of problem:
The test Benchmarks/CPU ZLib fails with "Warning Cannot load ZLib:
/usr/lib/libz.so: cannot open shared object file: No such file or directory"
even though zlib is installed
[mli@zeus ~]$ rpm -q zlib
and libz.so can be found in
[mli@zeus ~]$ ls -l /lib64/libz.so.1*
lrwxrwxrwx 1 root root 13 2007-06-07 20:54 /lib64/libz.so.1 -> libz.so.1.2.3
-rwxr-xr-x 1 root root 85640 2007-03-23 15:05 /lib64/libz.so.1.2.3
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Start hardinfo
2. Run the test Benchmarks/CPU ZLib
That the test would have been run
Thx for the report.
I added a patch that should fix the issue.
Can you please try this build and tell me if it works for you:
Still a problem. Now it fails with
"Cannot load ZLib: /usr/lib64/libz.so.1: cannot open shared object file: No such
file or directory"
libz.so.1 resides in /lib64 and not in /usr/lib64
[mli@zeus ~]$ rpm -ql zlib
hardinfo-0.4.2.2-6.fc7 has been pushed to the Fedora 7 testing repository. If problems still persist, please make note of it in this bug report.
(In reply to comment #2)
> Still a problem. Now it fails with
> "Cannot load ZLib: /usr/lib64/libz.so.1: cannot open shared object file: No such
> file or directory"
> libz.so.1 resides in /lib64 and not in /usr/lib64
Sorry stupid mistake.
Should be fixed in 0.4.2.2-7:
Please verify if this fixes the bug for you so that I can push it into updates.
Yes, now it works. Thanks.
hardinfo-0.4.2.2-7.fc7 has been pushed to the Fedora 7 stable repository. If problems still persist, please make note of it in this bug report.
Hardinfo test Benchmarks/CPU ZLib still fails with same error message on F8.
Hardinfo is looking for file:
/usr/lib/libz.so -> /lib/libz.so.1
which is part of package zlib-devel, but throws error message when it's not
found. Manual creation of the sym-link stops error and test succeeds.
Please either add zlib-devel as a prerequisite of hardinfo, or remove the
Thanx and Regards,