On Wed, Jan 28, 2009 at 07:44:02AM +1100, George Kirkham wrote: > The "System Profiler and Benchmark" is a program which provides > information about the installation of Debian and the PC on which it is
Can you provide any references to this software? > run. When I run "System Profiler and Benchmark" and generate a report > and save this report, an error message is displayed "Warning Cannot load > ZLIb: /user/lib/libz.so: cannot open shared object file: No such file or > directory". I'm not entirely sure what the program is attempting to do but this appears to be an error in the software. If it is attempting to determine the verison of zlib that is installed it should be checking for zlib.so.1. If it is attempting to determine the version of zlib which new applications should be built against then it should expect that development packages will not be installed on all systems. The behaviour you are observing is perfectly normal behaviour for ELF shared libraries like Unix. Programs are linked to libraries using the name "libfoo.so.N" where N is a number, allowing multiple versions of the library to be installed simultaneously. The plain .so form of the name is only used when building applications and libraries, it is not needed at run time. > Searching the internet, I have found reports of other applications which > depend on libz.so, one of these reports suggested copying the link > "/user/lib/libz.so.1" and renaming the copied link to > "/user/lib/libz.so". This advice is misguided. Your distribution will provide a development package which contains the .so version of the library, that should be installed in order to link with the library. It will also install the header and other files required. > I did this and then the "System Profiler and Benchmark" program was > able to save the report without error. I suggest that for backward > compatibility not only the link "/user/lib/libz.so.1" should exist but > also a link "/user/lib/libz.so", if not then all programs (eg "System > Profiler and Benchmark") which reference "/user/lib/libz.so" should be > modified to reference "/user/lib/libz.so.1" Please read up on how ELF shared libraries work - see for example: http://www.linux.org/docs/ldp/howto/Program-Library-HOWTO/shared-libraries.html -- "You grabbed my hand and we fell into it, like a daydream - or a fever." -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org