Closed javaxubuntu closed 2 years ago
What version of poppler
are you using? For 21.08.0-3 I do not see any direct dependency on zstd
from bin/pdftoppm
:
$ readelf -Wa bin/pdftoppm | grep "(NEEDED)"
0x00000001 (NEEDED) Shared library: [libpoppler.so]
0x00000001 (NEEDED) Shared library: [liblcms2.so.2]
0x00000001 (NEEDED) Shared library: [libc++_shared.so]
0x00000001 (NEEDED) Shared library: [libm.so]
0x00000001 (NEEDED) Shared library: [libc.so]
$ readelf -Wa lib/libpoppler.so | grep "(NEEDED)"
0x00000001 (NEEDED) Shared library: [libfreetype.so]
0x00000001 (NEEDED) Shared library: [libfontconfig.so]
0x00000001 (NEEDED) Shared library: [libjpeg.so]
0x00000001 (NEEDED) Shared library: [libz.so.1]
0x00000001 (NEEDED) Shared library: [libcurl.so]
0x00000001 (NEEDED) Shared library: [libopenjp2.so]
0x00000001 (NEEDED) Shared library: [liblcms2.so.2]
0x00000001 (NEEDED) Shared library: [libpng16.so]
0x00000001 (NEEDED) Shared library: [libtiff.so]
0x00000001 (NEEDED) Shared library: [libm.so]
0x00000001 (NEEDED) Shared library: [libc++_shared.so]
0x00000001 (NEEDED) Shared library: [libc.so]
CANNOT LINK EXECUTABLE "pdftoppm": library "libzstd.so.1" not found: needed by /data/data/com.termux/files/usr/lib/libtiff.so in namespace (default)
That's libtiff should be fixed, not poppler.
~ $ readelf -Wa ../usr/bin/pdftoppm | grep "(NEEDED)"
0x00000001 (NEEDED) Shared library: [libpoppler.so]
0x00000001 (NEEDED) Shared library: [liblcms2.so.2]
0x00000001 (NEEDED) Shared library: [libc++_shared.so]
0x00000001 (NEEDED) Shared library: [libm.so]
0x00000001 (NEEDED) Shared library: [libc.so]
~ $ readelf -Wa ../usr/lib/libpoppler.so | grep "(NEEDED)"
0x00000001 (NEEDED) Shared library: [libfreetype.so]
0x00000001 (NEEDED) Shared library: [libfontconfig.so]
0x00000001 (NEEDED) Shared library: [libjpeg.so]
0x00000001 (NEEDED) Shared library: [libz.so.1]
0x00000001 (NEEDED) Shared library: [libcurl.so]
0x00000001 (NEEDED) Shared library: [libopenjp2.so]
0x00000001 (NEEDED) Shared library: [liblcms2.so.2]
0x00000001 (NEEDED) Shared library: [libpng16.so]
0x00000001 (NEEDED) Shared library: [libtiff.so]
0x00000001 (NEEDED) Shared library: [libm.so]
0x00000001 (NEEDED) Shared library: [libc++_shared.so]
0x00000001 (NEEDED) Shared library: [libc.so]
~ $ pkg show poppler
Package: poppler
Version: 21.08.0-3
Maintainer: @termux
Installed-Size: 4567 kB
Depends: fontconfig, freetype, glib, libc++, libcairo, libcurl, libiconv, libjpeg-turbo, libpng, libtiff, littlecms, openjpeg, openjpeg-tools, zlib
Breaks: poppler-dev
Replaces: poppler-dev
Homepage: https://poppler.freedesktop.org/
Download-Size: 944 kB
APT-Manual-Installed: yes
APT-Sources: https://grimler.se/termux-packages-24 stable/main arm Packages
Description: PDF rendering library
Problem description
zstd should be a dependency for poppler
What steps will reproduce the bug?
If zstd is not installed : $ pdftoppm ../20-dominion-aventures-regle.pdf img CANNOT LINK EXECUTABLE "pdftoppm": library "libzstd.so.1" not found Aborted
What is the expected behavior?
No response
System information
termux-info: