It is not a library what is causing you trouble.
If you include \left( also a \right) (or a \right., or maybe mathematically senseless, but also \right], \right|, etc. would work) should be included in the same equation line, and vice versa. If you jump a line in, say, align-environment you would get an error.
\begin{align}
X&=\left( \sum \mbox{something}
\\
&+\mbox{more stuff} \right)
\end{align}
and
\begin{align}
Y& =\left( \sum & \mbox{something} \right)
\end{align}
both give you an error, whereas
\begin{align}
X&=\left( \sum \mbox{something} \right.
\\
&\left.+\mbox{more stuff} \right)
\end{align}
and
\begin{align}
Y& =\left( \sum \right. & \left. \vphantom{\sum} \mbox{something} \right)
\end{align}
don't. Alternatively, you can get rid of this problem by using
\big(, \bigg(, \Big(,...
instead.
\left\{, then add\right., the period indicates an invisible/empty delimiter. – Torbjørn T. Jun 30 '16 at 09:22