There are holomorphic line bundles over a compact Riemann surface $X$ that are not holomorphically trivial. To see this, note that smooth complex line bundles are classified by a complete invariant, called the degree. By contrast, we have Picard group $Pic(X)$ of isomorphism classes of holomorphic line bundles on $X$.
One always has a surjective group morphism $Pic(X)\rightarrow\mathbb{Z}$, defined by taking degrees of holomorphic line bundles. In general, this map is not an isomorphism. Its kernel therefore consists of smoothly (hence topologically) trivial complex line bundles that are not holomorphically trivial.