ezgranet/pdfwordcounter

​dyld: Library not loaded: [...] Reason: image not found

xhain opened this issue · 1 comments

xhain commented

Upon dragging/dropping a PDF or using "Open..." from the menu bar I get:

dyld: Library not loaded: /usr/local/Cellar/poppler/0.74.0/lib/libpoppler.85.dylib
Referenced from: /Applications/pdfwordcounter.app/Contents/Resources/popplar/0730/ban/pdftotaxt
Reason: image not found
0

Running the latest version (v3.0) on OSX (10.12.6).
To debug I tried to install poppler through homebrew - but it didn't solve the issue.

How can I make sure the poppler dylib is available to the application?

Thanks for the bug report! I have yet to find a permanent fix to this (some Stack Overflow googling shows it isn't just my problem), but I rather crudely fixed it with the latest commit by quite literally just copying over the new version of poppler; the error is gone on my machine as well.

Any suggestions for a more elegant fix are more than welcome.