Running pkgsrc packages on OmniOSce r151054, on multiple hosts and zones, but a problem now arises on my Nextcloud lipkg zone: for some unknown reason, PHP modules are broken when I run a 'pkgin update && pkgin upgrade' cycle:
$ php -v
PHP Warning: PHP Startup: Unable to load dynamic library 'gd.so'
(tried: /opt/local/lib/php/8.3/x86_64/gd.so (ld.so.1: php83:
fatal: libc.so.1: open failed: No such file or directory),
/opt/local/lib/php/8.3/x86_64/gd.so.so (ld.so.1: php83: fatal:
/opt/local/lib/php/8.3/x86_64/gd.so.so: open failed: No such file
or directory)) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library
'imagick.so' (tried: /opt/local/lib/php/8.3/x86_64/imagick.so
(ld.so.1: php83: fatal: libc.so.1: open failed: No such file or
directory), /opt/local/lib/php/8.3/x86_64/imagick.so.so (ld.so.1:
php83: fatal: /opt/local/lib/php/8.3/x86_64/imagick.so.so: open
failed: No such file or directory)) in Unknown on line 0
PHP 8.3.33 (cli) (built: Aug 12 2026 15:27:51) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.3.33, Copyright (c) Zend Technologies
with Zend OPcache v8.3.33, Copyright (c), by Zend Technologies
But the phg83-gd package is very much installed:
$ pkgin list
[...]
php83-8.3.33 PHP Hypertext Preprocessor version 8.3
php83-apcu-5.1.28 APCu - APC User Cache
php83-bcmath-8.3.33nb1 PHP extension for bc-style arbitrary
precision math
php83-bz2-8.3.33nb1 PHP extension for bzip2 compression
php83-curl-8.3.33nb28 PHP extension for curl functions
php83-exif-8.3.33nb1 PHP extension to extract information from
EXIF headers
php83-fpm-8.3.33nb12 FPM interface for php83
php83-gd-8.3.33nb13 PHP extension for GD graphics library
php83-gmp-8.3.33nb1 PHP extension for arbitrary precision math
php83-iconv-8.3.33nb2 PHP extension for character set conversion
php83-imagick-3.8.1nb6 PHP extension for ImageMagick graphics
library
php83-imap-8.3.33nb7 PHP extension for IMAP (Internet Mailbox
Access Protocol)
php83-intl-8.3.33nb17 PHP extension for i18n
php83-ldap-8.3.33nb3 PHP extension for LDAP database access
php83-mbstring-8.3.33nb1 PHP extension for multibyte characters
support
php83-mysqli-8.3.33nb3 PHP5 extension for MySQL 4.1 and later
databases
php83-opcache-8.3.33nb1 PHP extension for opcode caching
php83-pcntl-8.3.33nb1 PHP extension for Process Control functions
php83-pdo-8.3.33nb1 PHP extension for PHP Data Objects (base)
php83-pdo_mysql-8.3.33nb3 PHP extension for PHP Data Objects
(MySQL)
php83-pecl-mcrypt-1.0.9 Bindings for the libmcrypt library
php83-posix-8.3.33nb1 PHP extension for POSIX-like functions
php83-redis-6.3.0 PHP extension for Redis
php83-sodium-8.3.33nb1 PHP extension for the sodium crypto
algorithms library
php83-sysvsem-8.3.33nb1 PHP extension for SysV semaphore support
php83-zip-8.3.33nb21 PHP extension for ZIP archive handling
php83-zlib-8.3.33nb3 PHP extension for zlib compression
[...]
Also, this all worked fine before.
Tried to replace all php83 with php84 equivalents,
restarted/enabled the proper php-fpm service afterwards, but then
also the problem arises with php84.
Did something in the package repo break recently?
This now brings the whole Nextcloud stack on its knees. Not cool.
Any help appreciated. Thanks.