Linkages in general relativity