I just upgraded my Ubuntu 18.04 to latest version and this caused my system to freeze when booting, after investigation I found that cupsd
service was not running, if I try to run it manually I get a relocation error.
I do not have the full error message now but it was about a missing symbol in this library file libidn2.so.0.3.6
.
To solve this I brought this old file libidn2.so.0.3.3
from my brother's laptop and replaced it with the old file and made sure that the symlink /usr/lib/x86_64-linux-gnu/libidn2.so.0
pointed to the new file.
This solved my issue, I created this question to help you solve this problem if you face it in the near time.