When trying to run the Lightscan utility on Redhat Linux the Lightscan command fails with "Error while loading shared libraries: libz so:cannot open shared object file: No such file or directory".
This will usually mean that you do not have "libz.so" in the /usr/lib directory.
You may have libz.so.1 or libz.so.1.1.4 instead.
As per the lightscan readme,
Note: Compression depends on libz.so being available on your system.
Please check /usr/lib directory. In some cases you will find libz.so.1 or
libz.so.1.1.4 instead of libz.so. In such a case please create a symbolic
link between libz.so and the existing one.
If you check /usr/lib and find that you do not have libz.so, but do have libz.so.1 or libz.so.1.1.4, you can create a dynamic link by running the "ln" command below.
ln <file path and name of the libz file you do have> </usr/lib/libz.so>
In the case where you have /usr/lib/libz.so.1, you can use the command below to resolve this problem.
ln /usr/lib/libz.so.1 /usr/lib/libz.so
This command will establish the dynamic link for libz.so and will allow you to then run the lightscan command on Redhat Linux.