/httpd: error while loading shared libraries: libexpat.so.0: cannot open shared object file: No such file or directory
Getting errors like below when trying to invoke httpd commands on OHS?
Follow the below steps to get the version without issues
1.
export ORACLE_HOME=xxxxxx
e.g.
export ORACLE_HOME=/u01/app/oracle/product/fmw/Oracle_WT1
2.
export LD_LIBRARY_PATH=$ORACLE_HOME/ohs/lib:$ORACLE_HOME/opmn/lib:$ORACLE_HOME/lib:$LD_LIBRARY_PATH
3.
$ORACLE_HOME/ohs/bin/httpd -version