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

missing dependency for mingw-w64-x86_64-poppler #3031

Closed
jspraul opened this issue Oct 9, 2017 · 7 comments
Closed

missing dependency for mingw-w64-x86_64-poppler #3031

jspraul opened this issue Oct 9, 2017 · 7 comments

Comments

@jspraul
Copy link

jspraul commented Oct 9, 2017

error while loading shared libraries: libpoppler-59.dll: cannot open shared object file: No such file or directory

$ ls /c/msys64/mingw64/lib/poppler
/c/msys64/mingw64/lib/libpoppler.a
/c/msys64/mingw64/lib/libpoppler.dll.a
/c/msys64/mingw64/lib/libpoppler-cpp.a
/c/msys64/mingw64/lib/libpoppler-cpp.dll.a
/c/msys64/mingw64/lib/libpoppler-glib.a
/c/msys64/mingw64/lib/libpoppler-glib.dll.a
/c/msys64/mingw64/lib/libpoppler-qt5.a
/c/msys64/mingw64/lib/libpoppler-qt5.dll.a

@lazka
Copy link
Member

lazka commented Oct 9, 2017

What program showed the error?

the shared library is in /bin btw

@jspraul
Copy link
Author

jspraul commented Oct 9, 2017

Thanks for the pointer to the shared library. Here is the command in different paths:

MINGW64 /
$ pdftotext
C:/msys64/mingw64/bin/pdftotext.exe: error while loading shared libraries: libpoppler-59.dll: cannot open shared object file: No such file or directory

MINGW64 /c/msys64/mingw64/bin
$ pdftotext
C:/msys64/mingw64/bin/pdftotext.exe: error while loading shared libraries: ?: cannot open shared object file: No such file or directory

@lazka
Copy link
Member

lazka commented Oct 9, 2017

Huh, weird. pdftotext links against libpoppler-70.dll and both are in the same package. No idea.

@jspraul
Copy link
Author

jspraul commented Oct 9, 2017

I will pacman -Syu a few times, 1 sec. It's been a while.

edit: hit this msys2/MSYS2-packages#1024

@jspraul
Copy link
Author

jspraul commented Oct 9, 2017

Now it looks like this:

MSYS /c/msys64/mingw64
$ bin/pdftotext.exe
C:/msys64/mingw64/bin/pdftotext.exe: error while loading shared libraries: libpoppler-70.dll: cannot open shared object file: No such file or directory

MSYS /c/msys64/mingw64/bin
$ ./pdftotext.exe
C:/msys64/mingw64/bin/pdftotext.exe: error while loading shared libraries: ?: cannot open shared object file: No such file or directory

MSYS /c/msys64/mingw64/bin
$ ls poppler
libpoppler-70.dll libpoppler-glib-8.dll
libpoppler-cpp-0.dll libpoppler-qt5-1.dll

MSYS /c/msys64/mingw64/bin
$ ls ../lib/poppler
../lib/libpoppler.a ../lib/libpoppler-glib.a
../lib/libpoppler.dll.a ../lib/libpoppler-glib.dll.a
../lib/libpoppler-59.dll ../lib/libpoppler-qt5.a
../lib/libpoppler-cpp.a ../lib/libpoppler-qt5.dll.a
../lib/libpoppler-cpp.dll.a

Possibly related: https://github.com/Alexpux/MINGW-packages/issues/2852

@GuilGA45
Copy link

I have had the same problem with pdfimages. It was a missing dependency for openjpeg2. It seems that poppler now depend on openjpeg2 instead of openjpeg.

lazka added a commit to lazka/MINGW-packages that referenced this issue Oct 10, 2017
@lazka
Copy link
Member

lazka commented Oct 10, 2017

@GuilGA45 looks like that's it, thanks!

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

3 participants