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
"AI has absolutely reduced the cost of creating technical debt." -- ChatGPT

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
"AI has absolutely reduced the cost of creating technical debt." -- ChatGPT

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.

For better or worse packages installed without the automatic flag will linger even though functional environment and related packages will disappear, but that's also because php83 base package clashes with files used by php82 so all that is left behind are single packages that were either installed manually or installed by a script that shouldn't install it non-automatic in the Zenarmor case. But at least it didn't cause bigger issues in recent times.


Cheers,
Franco
"AI has absolutely reduced the cost of creating technical debt." -- ChatGPT