A railway line will link Mozambique and Tanzania via Malawi, the Mozambican and Tanzanian governments said, Xinhua reported Sept. 17.