[OpenIndiana-discuss] PHP 8.3 confusion
Christian Meier
meierch75 at gmail.com
Wed Apr 23 15:51:07 UTC 2025
Hello Stephan
the "tidy.so" message I get too with the old and new BE
Updated system today but no pdo messages
# grep pdo_ error_log
# php -v
PHP Warning: PHP Startup: Unable to load dynamic library 'tidy.so'
(tried: /usr/php/8.3/extensions/tidy.so (ld.so.1: php: fatal: relocation
error: file /usr/php/8.3/extensions/tidy.so: symbol tidyBufFree:
referenced symbol not found), /usr/php/8.3/extensions/tidy.so.so
(ld.so.1: php: fatal: /usr/php/8.3/extensions/tidy.so.so: open failed:
No such file or directory)) in Unknown on line 0
PHP 8.3.14 (cli) (built: Nov 27 2024 23:54:59) (ZTS)
Copyright (c) The PHP Group
Zend Engine v4.3.14, Copyright (c) Zend Technologies
with Zend OPcache v8.3.14, Copyright (c), by Zend Technologies
# php -m | grep -i pdo
PHP Warning: PHP Startup: Unable to load dynamic library 'tidy.so'
(tried: /usr/php/8.3/extensions/tidy.so (ld.so.1: php: fatal: relocation
error: file /usr/php/8.3/extensions/tidy.so: symbol tidyBufFree:
referenced symbol not found), /usr/php/8.3/extensions/tidy.so.so
(ld.so.1: php: fatal: /usr/php/8.3/extensions/tidy.so.so: open failed:
No such file or directory)) in Unknown on line 0
PDO
pdo_mysql
pdo_pgsql
pdo_sqlite
# beadm list
BE Active Mountpoint Space Policy Created
openindiana-2025:04:05 - - 36.04M static 2025-04-05 21:38
openindiana-2025:04:23 NR / 24.19G static 2025-04-23 17:25
reason for tidy is a missing library
# ldd -v /usr/php/8.3/extensions/tidy.so
find object=libtidy-1.0.so.0; required by
/usr/php/8.3/extensions/tidy.so
libtidy-1.0.so.0 => (file not found)
find object=libc.so.1; required by /usr/php/8.3/extensions/tidy.so
libc.so.1 => /lib/64/libc.so.1
find version=libc.so.1
libc.so.1 (ILLUMOS_0.26) => /lib/64/libc.so.1
libc.so.1 (ILLUMOS_0.5) => /lib/64/libc.so.1
libc.so.1 (SUNWprivate_1.1) => /lib/64/libc.so.1
object=/lib/64/libc.so.1; filter for /usr/lib/amd64/ld.so.1
object=/lib/64/libc.so.1; filter for libm.so.2
find object=libm.so.2; required by /lib/64/libc.so.1
libm.so.2 => /lib/64/libm.so.2
find object=libc.so.1; required by /lib/64/libm.so.2
find version=libc.so.1
libc.so.1 (ILLUMOS_0.37) => /lib/64/libc.so.1
# pkg search -f libtidy-1.0.so.0
#
for my php tests I do not use/require tidy so I renamed the ini file and
that message is gone
So looks like a local issue on your system
Cheers, Christian
On 23/04/2025 15:00, Stephan Althaus wrote:
> Hi!
>
> I tried an update on my zone for my apache installation and stumbled
> upon errors,
> and i am starting to see what the exact errors are and their origin...
>
> The apache error log shows:
>
> PHP Warning: PHP Startup: Unable to load dynamic library
> 'pdo_mysql.so' (tried: /usr/php/8.3/extensions/pdo_mysql.so (ld.so.1:
> httpd: fatal: relocation error: file
> /usr/php/8.3/extensions/pdo_mysql.so: symbol
> php_pdo_unregister_driver: referenced symbol not found),
> /usr/php/8.3/extensions/pdo_mysql.so.so (ld.so.1: httpd: fatal:
> /usr/php/8.3/extensions/pdo_mysql.so.so: open failed: No such file or
> directory)) in Unknown on line 0
>
> PHP Warning: PHP Startup: Unable to load dynamic library
> 'pdo_pgsql.so' (tried: /usr/php/8.3/extensions/pdo_pgsql.so (ld.so.1:
> httpd: fatal: relocation error: file
> /usr/php/8.3/extensions/pdo_pgsql.so: symbol php_pdo_get_dbh_ce:
> referenced symbol not found), /usr/php/8.3/extensions/pdo_pgsql.so.so
> (ld.so.1: httpd: fatal: /usr/php/8.3/extensions/pdo_pgsql.so.so: open
> failed: No such file or directory)) in Unknown on line 0
>
> PHP Warning: PHP Startup: Unable to load dynamic library
> 'pdo_sqlite.so' (tried: /usr/php/8.3/extensions/pdo_sqlite.so
> (ld.so.1: httpd: fatal: relocation error: file
> /usr/php/8.3/extensions/pdo_sqlite.so: symbol php_pdo_get_dbh_ce:
> referenced symbol not found), /usr/php/8.3/extensions/pdo_sqlite.so.so
> (ld.so.1: httpd: fatal: /usr/php/8.3/extensions/pdo_sqlite.so.so: open
> failed: No such file or directory)) in Unknown on line 0
>
> [Wed Apr 23 14:17:22.805477 2025] [mpm_event:notice] [pid 9842:tid 1]
> AH00489: Apache/2.4.63 (Unix) OpenSSL/3.4.1 PHP/8.3.14 mod_fcgid/2.3.9
> mod_perl/2.0.13 Perl/v5.38.3 configured -- resuming normal operations
>
>
> $ pkg search /usr/php/8.3/extensions/pdo_sqlite.so
> INDEX ACTION VALUE PACKAGE
> path file usr/php/8.3/extensions/pdo_sqlite.so
> pkg:/web/php-83/php-common at 8.3.14-2024.0.0.2
>
>
> $ php -v
> PHP Warning: PHP Startup: Unable to load dynamic library 'tidy.so'
> (tried: /usr/php/8.3/extensions/tidy.so (ld.so.1: php: fatal:
> relocation error: file /usr/php/8.3/extensions/tidy.so: symbol
> tidyBufFree: referenced symbol not found),
> /usr/php/8.3/extensions/tidy.so.so (ld.so.1: php: fatal:
> /usr/php/8.3/extensions/tidy.so.so: open failed: No such file or
> directory)) in Unknown on line 0
> PHP 8.3.14 (cli) (built: Nov 27 2024 23:54:59) (ZTS)
> Copyright (c) The PHP Group
> Zend Engine v4.3.14, Copyright (c) Zend Technologies
> with Zend OPcache v8.3.14, Copyright (c), by Zend Technologies
> with Xdebug v3.3.2, Copyright (c) 2002-2024, by Derick Rethans
>
>
> So there are linker errors within the base package, and some
> extensions ??
>
> => Can someone confirm that this is a local error only on my site ?
>
> $ uname -a
> SunOS dell7720 5.11 illumos-9182c9260e i86pc i386 i86pc
>
> BE of 2025-04-18
>
>
> The package php-8.3-ext-imagick is part of the sources, but not in
> pkg.openindiana.org, so i guess it does/did not build (?)
>
>
> Regards,
>
> Stephan
>
>
>
> _______________________________________________
> openindiana-discuss mailing list
> openindiana-discuss at openindiana.org
> https://openindiana.org/mailman/listinfo/openindiana-discuss
More information about the openindiana-discuss
mailing list