Hi, could you do:
ldd /usr/lib/php/20190902/enchant.so on the affected system? Ondrej > On 8 Sep 2020, at 10:09, Tommy Wu <to...@teatime.com.tw> wrote: > > Package: php7.4-enchant > Version: 7.4.9-2 > Followup-For: Bug #954855 > > Dear Maintainer, > > Error message like this: > PHP Warning: PHP Startup: Unable to load dynamic library 'enchant.so' > (tried: /usr/lib/php/20190902/enchant.so (/usr/lib/php/20190902/enchant.so: > undefined symbol: enchant_dict_is_in_session), > /usr/lib/php/20190902/enchant.so.so (/usr/lib/php/20190902/enchant.so.so: > cannot open shared object file: No such file or directory)) in Unknown on > line 0 > > I found this bug in PHP's open bug: > https://bugs.php.net/bug.php?id=76962 > > -- Package-specific info: > ==== Additional PHP 7.4 information ==== > > ++++ PHP @PHP_VERSION SAPI (php7.4query -S): ++++ > > ++++ PHP 7.4 Extensions (php7.4query -M -v): ++++ > > ++++ Configuration files: ++++ > **** /etc/php/7.4/mods-available/enchant.ini **** > extension=enchant.so > > > -- System Information: > Debian Release: bullseye/sid > APT prefers testing > APT policy: (500, 'testing') > Architecture: amd64 (x86_64) > Foreign Architectures: i386, armhf > > Kernel: Linux 5.7.0-1-amd64 (SMP w/8 CPU threads) > Kernel taint flags: TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE > Locale: LANG=en_US.UTF-8, LC_CTYPE=zh_TW.UTF-8 (charmap=UTF-8), > LANGUAGE=en_US:en > Shell: /bin/sh linked to /bin/bash > Init: systemd (via /run/systemd/system) > > Versions of packages php7.4-enchant depends on: > ii libc6 2.31-3 > ii libenchant-2-2 2.2.8-1 > ii php-common 2:76 > ii php7.4-common 7.4.9-2 > ii ucf 3.0043 > > php7.4-enchant recommends no packages. > > php7.4-enchant suggests no packages. > > Versions of packages php7.4-common depends on: > ii libc6 2.31-3 > ii libffi7 3.3-4 > ii libssl1.1 1.1.1g-1 > ii php-common 2:76 > ii ucf 3.0043 > > Versions of packages php7.4-cli depends on: > ii libargon2-1 0~20171227-0.2 > ii libc6 2.31-3 > ii libedit2 3.1-20191231-1 > ii libmagic1 1:5.38-5 > ii libpcre2-8-0 10.34-7 > ii libsodium23 1.0.18-1 > ii libssl1.1 1.1.1g-1 > ii libxml2 2.9.10+dfsg-6 > ii mime-support 3.64 > ii php7.4-common 7.4.9-2 > ii php7.4-json 7.4.9-2 > ii php7.4-opcache 7.4.9-2 > ii php7.4-readline 7.4.9-2 > ii tzdata 2020a-1 > ii ucf 3.0043 > ii zlib1g 1:1.2.11.dfsg-2 > > Versions of packages php7.4-cli suggests: > ii php-pear 1:1.10.9+submodules+notgz-1 > > Versions of packages php7.4-fpm depends on: > ii libapparmor1 2.13.4-3 > ii libargon2-1 0~20171227-0.2 > ii libc6 2.31-3 > ii libmagic1 1:5.38-5 > ii libpcre2-8-0 10.34-7 > ii libsodium23 1.0.18-1 > ii libssl1.1 1.1.1g-1 > ii libsystemd0 246.4-1 > ii libxml2 2.9.10+dfsg-6 > ii mime-support 3.64 > ii php7.4-cli 7.4.9-2 > ii php7.4-common 7.4.9-2 > ii php7.4-json 7.4.9-2 > ii php7.4-opcache 7.4.9-2 > ii procps 2:3.3.16-5 > ii systemd 246.4-1 > ii tzdata 2020a-1 > ii ucf 3.0043 > ii zlib1g 1:1.2.11.dfsg-2 > > Versions of packages php7.4-fpm suggests: > ii php-pear 1:1.10.9+submodules+notgz-1 > > -- no debconf information >