Oracle Solution for Error ora-07254

Solution for Oracle Error ORA-07254

ORA-07254: spdcr: translation error while expanding ?/bin/oracle.

What triggered the Error:

An error occurred while translating the name of the oracle executable.

What should we do to fix it:

Check sercose[0] for error returned from sltln. Perhaps $(ORACLE_HOME) is not set correctly.