the compilation of the sketch then ends with an error message.
It is crucial that the new version loads the wrong SD libraries
the error messages are only secondary consequences of this faulty behavior. They say nothing about the reason why the wrong library is loaded.
Re-installing 1.8.10 seems to fix it.