There was an unexpected error loading this library

That’s not exactly an error. You will see that kind of msgs immediately on the first start after a server software update.
If you see it on every start however, you might have a damaged database.

Unfortunately repairing is currently a bit complicated. If you’re not shy of the command line, you might wanna take a look at Upgrades above 1.22.0 corrupting database