If one has a quasiprojective complex variety X, there is a natural map from the algebraic Picard group to the analytic Picard group. Is this map either injective or surjective?
I assume the latter is not true, but couldn't think of an example (nor a definitive opinion for the former question) If you take a normal crossings projective compactification Xbar, then both notions coincide, but while an algebraic line bundle on Xbar that is trivial on X must be associated to the boundary divisor, I couldn't see if the same holds in the analytic setting.