From Stephan.Althaus at Duedinghausen.eu Wed Apr 23 13:00:20 2025 From: Stephan.Althaus at Duedinghausen.eu (Stephan Althaus) Date: Wed, 23 Apr 2025 15:00:20 +0200 Subject: [OpenIndiana-discuss] PHP 8.3 confusion Message-ID: <8ba42b2b-586f-4908-bec6-daf32ed13987@Duedinghausen.eu> 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 From meierch75 at gmail.com Wed Apr 23 15:51:07 2025 From: meierch75 at gmail.com (Christian Meier) Date: Wed, 23 Apr 2025 17:51:07 +0200 Subject: [OpenIndiana-discuss] PHP 8.3 confusion In-Reply-To: <8ba42b2b-586f-4908-bec6-daf32ed13987@Duedinghausen.eu> References: <8ba42b2b-586f-4908-bec6-daf32ed13987@Duedinghausen.eu> Message-ID: <25468d4f-d64d-4fd8-84ae-9ff4cb00f17b@gmail.com> 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 From Stephan.Althaus at Duedinghausen.eu Wed Apr 23 16:08:46 2025 From: Stephan.Althaus at Duedinghausen.eu (Stephan Althaus) Date: Wed, 23 Apr 2025 18:08:46 +0200 Subject: [OpenIndiana-discuss] PHP 8.3 confusion In-Reply-To: <25468d4f-d64d-4fd8-84ae-9ff4cb00f17b@gmail.com> References: <8ba42b2b-586f-4908-bec6-daf32ed13987@Duedinghausen.eu> <25468d4f-d64d-4fd8-84ae-9ff4cb00f17b@gmail.com> Message-ID: <17987489-d571-4fcd-bfeb-0a6ed9ff5fb4@Duedinghausen.eu> Hello Christian! Thanks for your diagnosis. There is a lib for tiny, but a different version: $ pkg search -r "libtidy*" INDEX????? ACTION VALUE????????????????????????? PACKAGE basename?? file?? usr/share/man/man3/libtidy.3 pkg:/text/tidy at 5.8.0-2025.0.0.0 basename?? link?? usr/lib/amd64/libtidy.so pkg:/text/tidy at 5.8.0-2025.0.0.0 basename?? file?? usr/lib/amd64/libtidy.so.5.8.0 pkg:/text/tidy at 5.8.0-2025.0.0.0 basename?? link?? usr/lib/amd64/libtidy.so.58 pkg:/text/tidy at 5.8.0-2025.0.0.0 If i brutally link that, the error is gone: /usr/lib/amd64# ln -s libtidy.so.5.8.0 libtidy-1.0.so.0 The pdo messages i only got in the context of the apache web server. Thanks for your hints, i'll investigate further.. Regards, Stephan On 4/23/25 17:51, Christian Meier wrote: > 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 From Stephan.Althaus at Duedinghausen.eu Wed Apr 23 20:10:31 2025 From: Stephan.Althaus at Duedinghausen.eu (Stephan Althaus) Date: Wed, 23 Apr 2025 22:10:31 +0200 Subject: [OpenIndiana-discuss] PHP 8.3 confusion In-Reply-To: <17987489-d571-4fcd-bfeb-0a6ed9ff5fb4@Duedinghausen.eu> References: <8ba42b2b-586f-4908-bec6-daf32ed13987@Duedinghausen.eu> <25468d4f-d64d-4fd8-84ae-9ff4cb00f17b@gmail.com> <17987489-d571-4fcd-bfeb-0a6ed9ff5fb4@Duedinghausen.eu> Message-ID: <80712cb8-c761-472d-85af-15ca94b89851@Duedinghausen.eu> Hello! i created a php script with phpinfo() in it, from the command line the pdo_sqlite was enabled, as user root and webservd, everything ok. Only the apache24 service had a problem... I read the phpinfo() of the webserver with 8.2 and 8.3 forth and back and found no reason why pdo_sqlite was failing with php 8.3 within the apache webserver. I finally found a workaround by adding these 2 lines at the end of /etc/apache2/2.4/httpd.conf # grep -i pdo ../httpd.conf Loadfile "/usr/php/8.3/extensions/pdo.so" Loadfile "/usr/php/8.3/extensions/pdo_sqlite.so" Note that such lines are not necessary with php 8.2. While testing, I only exchanged the /etc/apache2/2.4/conf.d/php8x.conf The search path extension_dir "/usr/php/8.3/extensions/" was always mentioned in the phpinfo() of php83 within the webserver (?) I don' think this is a solution, but i have no other idea for now... Regards, Stephan On 4/23/25 18:08, Stephan Althaus wrote: > Hello Christian! > > Thanks for your diagnosis. > > There is a lib for tiny, but a different version: > > $ pkg search -r "libtidy*" > INDEX????? ACTION VALUE????????????????????????? PACKAGE > basename?? file?? usr/share/man/man3/libtidy.3 > pkg:/text/tidy at 5.8.0-2025.0.0.0 > basename?? link?? usr/lib/amd64/libtidy.so > pkg:/text/tidy at 5.8.0-2025.0.0.0 > basename?? file?? usr/lib/amd64/libtidy.so.5.8.0 > pkg:/text/tidy at 5.8.0-2025.0.0.0 > basename?? link?? usr/lib/amd64/libtidy.so.58 > pkg:/text/tidy at 5.8.0-2025.0.0.0 > > If i brutally link that, the error is gone: > > /usr/lib/amd64# ln -s libtidy.so.5.8.0 libtidy-1.0.so.0 > > The pdo messages i only got in the context of the apache web server. > > Thanks for your hints, i'll investigate further.. > > Regards, > Stephan > > > On 4/23/25 17:51, Christian Meier wrote: >> 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 > > > > _______________________________________________ > openindiana-discuss mailing list > openindiana-discuss at openindiana.org > https://openindiana.org/mailman/listinfo/openindiana-discuss From stream at willows7.myzen.co.uk Tue Apr 29 05:27:14 2025 From: stream at willows7.myzen.co.uk (russell) Date: Tue, 29 Apr 2025 06:27:14 +0100 Subject: [OpenIndiana-discuss] Error message Message-ID: Good Morning I am running OI Hipster 2025.04 illumos-88d39f6f84 and when I insert a USB drive or DVD I get the following error message Cannot unmount volume Error org.freedesktop.DBus.Error.AccessDenied. Rejected send message, 2 matched rules; type="method_call", sender=":1.153" (uid=101 pid=1186 comm"") interface="org.freedesktop.Hal.Device.Volume" member="Unmount" error name="(unset)" requested_reply=0 destination="org.freedesktop.Hal" (uid=0 pid=262 comm="") ?$ps -ef | grep 1186 ?russell?? 1186?? 1031?? 0 06:15:49 ??????????? 0:00 gnome-mount -u -b -d /dev/dsk/c1t0d0p0:1 $ ps -ef | grep 262 ??? root??? 262????? 1?? 0 05:48:45 ??????????? 0:01 /usr/lib/hal/hald --daemon=yes ??? root??? 266??? 262?? 0 05:48:45 ??????????? 0:00 hald-runner Is this a permissions issue?? Could it potentially be effecting VirtualBox when running as non-root? Russell From asyropoulos at yahoo.com Tue Apr 29 07:37:21 2025 From: asyropoulos at yahoo.com (Apostolos Syropoulos) Date: Tue, 29 Apr 2025 07:37:21 +0000 (UTC) Subject: [OpenIndiana-discuss] Modula-2 IN gcc? References: <1800204087.1587085.1745912241122.ref@mail.yahoo.com> Message-ID: <1800204087.1587085.1745912241122@mail.yahoo.com> Hello, I was wondering if it is possible to bundle the Modula-2 compiler of GCC in the next release of the compiler thatcomes with OpenIndiana/hipster. Is it? Best regards,Apostolos ----------------------Apostolos Syropoulos Xanthi, Greece