"ERROR doc1gen: fatal: libhostcdl.so: open failed: No such file or directory" message in EngageOne Generate

Issue

Following error is being observed on executing doc1gen in non-windows environment - 
'ERROR doc1gen: fatal: libhostcdl.so: open failed: No such file or directory'
 

Cause

It is caused when doc1gen path is not specified for the variable LD_LIBRARY_PATH.

Resolution

UPDATED: July 8, 2019
These variables should always be appended and not overwritten and to avoid other applications failing.

In this case this path got overwritten. These variables are set usually in .profiles. However, each customer has their own ways to set the variable.


To avoid setting the variable every shell, we can define and explain them in .profile.

.profile is a file that runs automatically with each user login.