Running Doom Emacs 2.0.9 on Emacs 27.1 on Manjaro KDE.
When I compile a latex documents, it produces a PDF file and opens an emacs window to display it. But what is displayed is some text and not the PDF file.
The *Messages*
buffer carries an error that says:
File mode specification error: (error Error running ‘/home/user/.emacs.d/.local/straight/build/pdf-tools/epdfinfo’: /home/user/.emacs.d/.local/straight/build/pdf-tools/epdfinfo: error while loading shared libraries: libpoppler.so.101: cannot open shared object file: No such file or directory
If that is of any use, this is happening after a massive update to the OS. Earlier, the new window would show the PDF file.
How do I correct this error?
dnf install poppler poppler-dev
but the names of the packages depend on the distribution, so you'll have to figure out what Manjaro calls them.M-: (pdf-tools-install nil nil nil t)
. The final t tells it to (re)-install system packages.