Is national sovereignty incompatible with solutions to global problems, like climate change and the spread of infectious diseases?

Is national sovereignty incompatible with solutions to global problems, like climate change and the spread of infectious diseases?