Provide more information about link errors

References #32046.