Unable to load dynamic library 'intl.so'... Error loading shared library libicuio.so
Hi,
When using v3.12, I get the error below. It used to work before 3.12. I already tried adding php7-int
however I'm still getting the error.
Step 11/29 : RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
---> Running in 142c59b79830
PHP Warning: PHP Startup: Unable to load dynamic library 'intl.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20170718/intl.so (Error loading shared library libicuio.so.62: No such file or directory (needed by /usr/local/lib/php/extensions/no-debug-non-zts-20170718/intl.so)), /usr/local/lib/php/extensions/no-debug-non-zts-20170718/intl.so.so (Error loading shared library /usr/local/lib/php/extensions/no-debug-non-zts-20170718/intl.so.so: No such file or directory)) in Unknown on line 0
I have this in Dockerfile
RUN apk --no-cache update \
&& apk --no-cache upgrade \
&& apk add --no-cache \
mysql-client \
php7-mysqli \
php7-pdo \
php7-intl \
freetype \
libpng \
freetype-dev \
libpng-dev \
jpeg-dev \
libjpeg \
libjpeg-turbo-dev \
wget \
python3 \
py3-pip \
zlib-dev \
ttf-freefont \
fontconfig \
xvfb \
libxrender-dev \
gettext \
gettext-dev \
libxml2-dev \
autoconf \
g++ \
git \
bash \
make \
libstdc++ \
libx11 \
libxrender \
libxext \
libssl1.1 \
ca-certificates \
imagemagick imagemagick-dev && \
apk del --purge autoconf g++ make
Any suggestions to fix this?
Thanks