For example, I was doing this command:
[grid@server] /u01/app/grid/12.2/bin/renamedg dgname=OLD_NAME newdgname="CLONED_NAME" asm_diskstring='/dev/oracleasm/disks/DISKNAME'
clscfpinit: Failed clsdinitx [-1] ecode [64]
2017-09-19 13:23:43.533 [4160639488] gipclibInitializeClsd: clscfpinit failed with -1.
Segmentation fault
After setting ORACLE_HOME for grid, the command worked. There was not much out on the Internets about this, so hopefully it can help someone.