catch library not found error