export LD_LIBRARY_PATH=$ORACLE_HOME/lib Update: If you get an ELFCLASS64 error, try setting LD_LIBRARY_PATH to $ORACLE_HOME/lib32 instead.