Libraries updated ,how to rebuild worldserver and authserver

I update the requirements on a linux server ,but the worldserver can’t start
Error reports:
trinitycore error while loading shared libraries: libboost_system.so.1.71.0: cannot open shared object file: No such file or directory
My current libboost is libboost_system.so.1.74.0
Should I rebuild the worldserver and authserver files?And how ?