VERIFIED SOLUTION i

Resolving error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory on Linux with Merge/Purge Plus

Product Affected:  Merge/Purge Plus 6.6.0
Operating System: Linux

 

Issue

After installing a new Merge/Purge Plus(MPP) 6.6.0 on a Redhat Linux box, why am I getting this error?
 
Mon Jun 27 09:22:57 EDT 2016 -- step 01 -- Starting program MPP30
 
/g1/mpp6.6.0/mpp/rts/bin/runcbl: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory
 
Mon Jun 27 09:22:57 EDT 2016 -- step 01 -- MPP30 ended with status 127

Cause

Verified that libz.so.1 exists on the system:
 
find . -print | grep libz.so.1
./lib/vmware-tools/lib32/libz.so.1
./lib/vmware-tools/lib32/libz.so.1/libz.so.1
./lib/vmware-tools/lib64/libz.so.1
./lib/vmware-tools/lib64/libz.so.1/libz.so.1
./openv/pdde/pdopensource/lib/libz.so.1
./openv/pdde/pdopensource/lib/libz.so.1.2.3

But a location was not included in the path statement LD_LIBRARY_PATH.
 

Resolution

UPDATED: April 26, 2019
Users will need to add one of the libz libraries to the LD_LIBRARY_PATH but not the /lib64 one since the software is 32-bit only. 
  • Firstly verify that it is a 32-bit version. Perform a ‘file’ on the libz.so.1
  • Once the LD_LIBRARY_PATH was modified to include the libz location, the job ended normally.