Stuck Library?

Started by Aimdev99, May 06, 2026, 11:20:29 AM

Previous topic - Next topic
How can i fix this safely?
Thanks

06-May-2026 09:09:28 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'mongodb.so' (tried: /usr/local/lib/php/20230831/mongodb.so (Cannot open "/usr/local/lib/php/20230831/mongodb.so"), /usr/local/lib/php/20230831/mongodb.so.so (Cannot open "/usr/local/lib/php/20230831/mongodb.so.so")) in Unknown on line 0
[

pkg-static: No packages available to install matching 'php82' have been found in the repositories
>>> Summary of actions performed:

php82 dependency failed to be fixed

>>> There are still missing dependencies.
>>> Try fixing them manually.

Did the forum search for you:

# pkg remove php82-pecl-mongodb


Cheers,
Franco

Hi

Thanks

I did consider doing that, however I was concerned that due to the relationship with the mongo database I might cause an issue. Yes I would backup first, but wanted to keep any potential downtime to a minimum.
Furthermore I do not understand why it got into this situation in the first place as I always install/remove via the supplied gui, and also keep up to date with releases.

PHP 8.2 hasn't been supported since 25.1 and you're posting in 26.1. ;)


Cheers,
Franco

TBH I assumed it was a glitch in the updates, and I even sent in a report.
Suffice to say it is now removed, rebooted and looks ok.