I am receiving the following error:
/opt/CA/ezt/bin/eztcomod -I /opt/CA/ezt/macros -L testdb2.ezt testdb2.pco
ezt: Entering CA-EZT compiler.
/opt/CA/ezt/bin/eztcomod: error while loading shared libraries: lic98.so: cannot open shared object file: No such file or directory
/opt/CA/ezt/bin/eztgen testdb2.pco testdb2.s
ezt: Entering CA-EZT Code Generator.
EZABX054 Unable to open PCode File: testdb2.pco
A variable was overwritten on your system. Likely the PATH variable.
Therefore you got the "eztcomod: error while loading shared libraries: lic98.so: cannot open shared object file: No such file or directory" error. Then you did run "eztprofile" and PATH has been set again with the required paths and the problem was resolved.
You have to ensure that PATH and other variables, like EZTPATH or LD_LIBRARY_PATH, are being set as required and won't be overwritten.
You can check the settings via "env" command anytime - it will show whether and how a variable has been set.