Challenge
When backing up a Linux vm running Oracle using application aware processing you may receive the error. “Failed load library [/u01/oracle/product/12.1.0.2/db_1/lib/libclntsh.so]. libmql1.so: cannot open shared object file: No such file or directory when performing a backup”Solution
First check your oracle edition. You can query this in Oracle using:
select * from product_component_version;
Make sure you are not running express. Oracle Express edition is not supported on Linux:
https://helpcenter.veeam.com/backup/vsphere/oracle_backup.html
If you are on a supported edition you may need to re-link the oracle libraries.
https://docs.oracle.com/database/121/UNXAR/cnfg_prd.htm#UNXAR157
You can relink the product executables manually by using the relink shell script located in the $ORACLE_HOME/bin directory. You must relink the product executables every time you apply an operating system patch or after an operating system upgrade.
Navigate to $ORACLE_HOME/bin directory and run “relink”