Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation instructions do not put plugins in the correct place #31

Closed
brabalan opened this issue Jul 3, 2018 · 1 comment
Closed

Comments

@brabalan
Copy link

brabalan commented Jul 3, 2018

I followed the installation instructions and I got this error when launching zathura:

error: could not open plugin directory: /usr/local/Cellar/zathura/0.3.9/lib/zathura
error: Unknown file type: 'application/pdf'

It seems the brew --prefix zathura does not return the Cellar path:

% brew --prefix zathura
/usr/local/opt/zathura

I manually created the directory and linked the plugin in the Cellar and zathura now works.

@zegervdv
Copy link
Owner

weird, I just tried a clean install and by following the caveat for zathura-pdf-poppler I can open pdfs just fine.

Did you follow these steps?

      To enable this plugin you will need to link it in place.
      First create the plugin directory if it does not exist yet:
        $ mkdir -p $(brew --prefix zathura)/lib/zathura
      Then link the .dylib to the directory:
        $ ln -s $(brew --prefix zathura-pdf-poppler)/libpdf-poppler.dylib $(brew --prefix zathura)/lib/zathura/libpdf-poppler.dylib

      More information as to why this is needed: https://github.com/zegervdv/homebrew-zathura/issues/19

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants