  Given a cuspidal Hilbert modular eigenform $\pi$ of parallel weight 2 and a
nonarchimedian place $\mathfrak p$ of the underlying totally real field such
that the local component of $\pi$ at $\mathfrak p$ is the Steinberg
representation, one can associate two types of $\mathscr L$-invariants, one
defined in terms of the cohomology of arithmetic groups and the other in terms
of the Galois representation associated to $\pi$. We show that the $\mathscr
L$-invariants are the same.
