1

I'm trying to install Zathura on macOS Monterey by following the instructions on https://github.com/zegervdv/homebrew-zathura, but I'm getting this error whenever I'm trying to open any pdfs.

For those who have installed Zathura on Apple Silicon, can you share how you guys managed to get it working?

Thanks

zathura display error

2
  • Do you have an X11 Server running?
    – nohillside
    Commented Nov 21, 2021 at 16:54
  • 1
    I don't know what an X11 Server is, but after googling it, I'm positive I don't have one running.
    – jsnchwn
    Commented Nov 21, 2021 at 19:47

1 Answer 1

2

You seem to have installed the X11 version of Zathura. For the version with native macOS integration, follow the instructions beneath OSX_native_integration:

# unlink installed zathura and girara
brew unlink girara
brew unlink zathura

# install HEAD
brew install girara --HEAD
brew install zathura --HEAD
mkdir -p $(brew --prefix zathura)/lib/zathura
ln -s $(brew --prefix zathura-pdf-poppler)/libpdf-poppler.dylib $(brew --prefix zathura)/lib/zathura/libpdf-poppler.dylib

Or, if you haven't installed Zathura yet

brew tap zegervdv/zathura
brew install girara --HEAD
brew install zathura --HEAD
brew install zathura-pdf-poppler
mkdir -p $(brew --prefix zathura)/lib/zathura
ln -s $(brew --prefix zathura-pdf-poppler)/libpdf-poppler.dylib $(brew --prefix zathura)/lib/zathura/libpdf-poppler.dylib
15
  • I re-installed Zathura and tried the macOS integration, but I'm still getting the same display error.
    – jsnchwn
    Commented Nov 21, 2021 at 19:44
  • girara and zathura are supposed to remain unlinked, correct?
    – jsnchwn
    Commented Nov 21, 2021 at 19:45
  • @jsnchwn Maybe run brew uninstall zathura girara first and then use the second set of instructions.
    – nohillside
    Commented Nov 21, 2021 at 19:49
  • should I also include zathura-pdf-poppler?
    – jsnchwn
    Commented Nov 21, 2021 at 19:53
  • @jsnchwn It won't hurt, as long as you reinstall it again
    – nohillside
    Commented Nov 21, 2021 at 19:55

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .