In 1992, Xiao-Song Lin
constructed an invariant h(K) of knots K ⊂ S3 via a signed count of conjugacy
classes of irreducible SU(2) representations of π1(S3−K) with trace-free meridians.
Lin showed that h(K) equals one half times the knot signature of K. Using
methods similar to Lin’s, we construct an invariant h(L) of two-component links
L ⊂ S3. Our invariant is a signed count of conjugacy classes of projective
SU(2) representations of π1(S3− L) with a fixed 2-cocycle and corresponding
nontrivial w2. We show that h(L) is, up to a sign, the linking number of
L.