php8.1-mongodb: mongodb.so parse error at php startup

Bug #1992999 reported by Michael Temeschinko
26
This bug affects 5 people
Affects Status Importance Assigned to Milestone
php-mongodb (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I installed a fresh image of 22.04.1 on a Hetzner cloud server
apt update && apt upgrade -y
and additional
apt install php8.1-cli php8.1-mongodb
then
php-v
PHP Warning: PHP Startup: Unable to load dynamic library 'mongodb.so' (tried:
/usr/lib/php/20210902/mongodb.so (/usr/lib/php/20210902/mongodb.so: undefined
symbol: ns_parserr), /usr/lib/php/20210902/mongodb.so.so
(/usr/lib/php/20210902/mongodb.so.so: cannot open shared object file: No such file
or directory)) in Unknown on line 0

like I said fresh image with official package source

Tags: jammy
Paul White (paulw2u)
affects: ubuntu → php-mongodb (Ubuntu)
tags: added: jammy
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in php-mongodb (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.