Closed baseliners closed 8 years ago
You have a version conflict between libpoppler-dev
and another version of libpoppler which you manually compiled in /usr/local
. Try removing the latter.
Thanks. I removed all the libpoppler* files in /usr/local/lib and re-tried but still get the same error. I then removed the libpoppler-cpp-dev package and re-installed via apt-get but still get the same error.
Mmm you should have better run make uninstall
from the source directory that you used to build poppler. Anyway from your output it looks like you need to remove at least /usr/local/include/poppler
.
make uninstall
did the trick, thanks! One unrelated qn (I can open another thread if needed) - is there an easy way to get a line of text on a given page? Something like cat(txt[1][2])? I do see the newline characters so I can parse it but would be nice if this were built-in. Thoughts?
I'm running into the same problem on Mac. I tried to install poppler using hombrew in the following variations:
brew install --build-from-source -cc=g++ poppler
brew install --build-from-source poppler
brew install poppler
I also tried changing my compiler settings in ~/.R/Makevars
from g++ to clang. All yielded the same error in R.
Error: package or namespace load failed for ‘pdftools’ in dyn.load(file, DLLpath = DLLpath, ...): unable to load shared object '/usr/local/lib/R/site-library/pdftools/libs/pdftools.so': dlopen(/usr/local/lib/R/site-library/pdftools/libs/pdftools.so, 6): Symbol not found: __ZN7poppler24set_debug_error_functionEPFvRKSsPvES2_ Referenced from: /usr/local/lib/R/site-library/pdftools/libs/pdftools.so Expected in: flat namespace in /usr/local/lib/R/site-library/pdftools/libs/pdftools.so
Can you post your sessionInfo () and install output please?
Hi - I get the following error while trying to install on Ubuntu. I installed libpoppler-cpp-dev prior to installing pdftools. Error: