$X$ be locally compact & $T_2$, then $\forall x\in U$ where $U$ is open,$\exists V$ open with compact closure $\ni x\in V\subset\overline{V}\subset U$
A topological space is locally compact then here is an open base at each point has all of its set with compact closure