The U.S. government is closing the main Canadian access to the Stanstead, Que., library, an iconic building that straddles both borders, according to town and library officials.