Я пытался установить расширение PHP decimal с помощью pecl, потому что оно мне нужно для существующего проекта. На моей новой машине M1 возникла следующая ошибка:
$ pecl install decimal
[...]
checking for libmpdec library in default path... Could not find libmpdec
configure: error: Please reinstall libmpdec
ERROR: `/private/tmp/pear/temp/decimal/configure --with-php-config=/opt/homebrew/bin/php-config' failed
Подробнее здесь: https://stackoverflow.com/questions/701 ... d-libmpdec
Мобильная версия