#1122062 Can't load due to undefined symbol

#1122062#5
Date:
2025-12-06 14:06:45 UTC
From:
To:
Hi,

I don't know much about PHP, so if this bug report is somehow off,
please reassign and tag as appropriate. Thank you!

While trying to install Mediawiki with PostgreSQL, I installed this
package on my computer (also php-pgsql), and then got this message on
the console:



# php /usr/share/mediawiki/maintenance/run.php install.php
PHP Warning:  PHP Startup: Unable to load dynamic library 'pq.so' (tried: /usr/lib/php/20240924/pq.so (/usr/lib/php/20240924/pq.so: undefined symbol: php_resource_factory_handle_ctor), /usr/lib/php/20240924/pq.so.so (/usr/lib/php/20240924/pq.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Hello, I'm the MediaWiki installer!
...



I've omitted the rest of the dialogue, but a dynamic library that can't
be loaded, seems to be very broken to me.



Cheers,
Toni

#1122062#10
Date:
2025-12-06 19:21:03 UTC
From:
To:
What is the version of PHP that you are using?
#1122062#15
Date:
2025-12-06 21:46:50 UTC
From:
To:
Hi,

it's whatever comes with Trixie - ie, 8.4.


Cheers,
Toni