Hi - I'm running into the following issue trying to run prince on Alpine Linux 3.19:
Error loading shared library libwebpdemux.so.2: No such file or directory (needed by /usr/local/lib/prince/bin/prince)
Error loading shared library libavif.so.15: No such file or directory (needed by /usr/local/lib/prince/bin/prince)
please could a version of Prince 15.2 be published for Alpine 3.19?
thanks
My docker file is as follows (please let me know if I am missing a package - I used to install libcrypto1.1. but it now seems to be in testing so I've replaced it with openssl - not sure whether this is the right approach?):
RUN apk add --no-cache libxml2 pixman tiff giflib libpng openssl lcms2 libjpeg-turbo freetype libgomp libavif aom libcurl && \
apk --no-cache add msttcorefonts-installer update-ms-fonts fc-cache -f && \
wget -O /tmp/prince-15.2-alpine3.18-x86_64.tar.gz https://www.princexml.com/download/prince-15.2-alpine3.18-x86_64.tar.gz && \
tar -xf /tmp/prince-15.2-alpine3.18-x86_64.tar.gz -C /tmp && \
cd /tmp/prince-15.2-alpine3.18-x86_64 && \
./install.sh && \
rm -rf /tmp/prince-15.2-alpine3.18-x86_64 && \
rm /tmp/prince-15.2-alpine3.18-x86_64.tar.gz
Error loading shared library libwebpdemux.so.2: No such file or directory (needed by /usr/local/lib/prince/bin/prince)
Error loading shared library libavif.so.15: No such file or directory (needed by /usr/local/lib/prince/bin/prince)
please could a version of Prince 15.2 be published for Alpine 3.19?
thanks
My docker file is as follows (please let me know if I am missing a package - I used to install libcrypto1.1. but it now seems to be in testing so I've replaced it with openssl - not sure whether this is the right approach?):
RUN apk add --no-cache libxml2 pixman tiff giflib libpng openssl lcms2 libjpeg-turbo freetype libgomp libavif aom libcurl && \
apk --no-cache add msttcorefonts-installer update-ms-fonts fc-cache -f && \
wget -O /tmp/prince-15.2-alpine3.18-x86_64.tar.gz https://www.princexml.com/download/prince-15.2-alpine3.18-x86_64.tar.gz && \
tar -xf /tmp/prince-15.2-alpine3.18-x86_64.tar.gz -C /tmp && \
cd /tmp/prince-15.2-alpine3.18-x86_64 && \
./install.sh && \
rm -rf /tmp/prince-15.2-alpine3.18-x86_64 && \
rm /tmp/prince-15.2-alpine3.18-x86_64.tar.gz