pdflatex libboost_locale issue

A little while ago, I started seeing the following error message when trying to run pdflatex to build a LaTeX presentation:

pdflatex --interaction=batchmode presentation.tex

pdflatex: error while loading shared libraries: libboost_locale.so.1.76.0: cannot open shared object file: No such file or directory

I looked around and found that libboost_locale.so could be found under the boost-libs files. However, they’ve updated to 1.78.0. Trying to downgrade a package is highly discouraged.

I found that reinstalling texlive-most and updating my entire computer solved the issue:

pacman -S texlive-most;
pacman -Syu;