Problem is php7-pdo_mysql (PHP Startup: Unable to load dynamic library)
I’m trying to build something from edge with php, and I get this error:
PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib/php7/modules/pdo_mysql.so’ - Error relocating /usr/lib/php7/modules/pdo_mysql.so: pdo_raise_impl_error: symbol not found in Unknown on line 0@
I also got the same error with php-gd but this could be fixed by doing “apk upgrade -U -a” before using php.
Here is how to reproduce it:
docker run --rm -it alpine:edge sh -c "apk add -q -U php7 php7-pdo_mysql && php7 -r 'echo true;'"
(from redmine: issue id 7046, created on 2017-03-22, closed on 2017-04-14)