PHP Warning: PHP Startup: Unable to load dynamic lib

Started by SuperMiguel, March 16, 2023, 12:34:17 AM

Previous topic - Next topic
March 16, 2023, 12:34:17 AM Last Edit: March 16, 2023, 12:36:50 AM by SuperMiguel
Im Getting the following error :

[15-Mar-2023 23:25:34 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'mongodb.so' (tried: /usr/local/lib/php/20210902/mongodb.so (Cannot open "/usr/local/lib/php/20210902/mongodb.so"), /usr/local/lib/php/20210902/mongodb.so.so (Cannot open "/usr/local/lib/php/20210902/mongodb.so.so")) in Unknown on line 0


I tried following the steps on this thread: https://forum.opnsense.org/index.php?topic=12056.msg55103#msg55103 and running
Quoteopnsense-update -pf
but still getting that error.

I ran an audit/health and got:

***GOT REQUEST TO AUDIT HEALTH***
Currently running OPNsense 23.1.3_4 at Wed Mar 15 19:29:29 EDT 2023
>>> Check installed kernel version
Version 23.1.2 is correct.
>>> Check for missing or altered kernel files
No problems detected.
>>> Check installed base version
Version 23.1.2 is correct.
>>> Check for missing or altered base files
No problems detected.
>>> Check installed repositories
SunnyValley
mimugmail
OPNsense
>>> Check installed plugins
os-adguardhome-maxit 1.8
os-clamav 1.8
os-crowdsec 1.0.2
os-ddclient 1.11_1
os-freeradius 1.9.22
os-ntopng 1.2_2
os-redis 1.1_2
os-sensei 1.12.4
os-sensei-updater 1.12
os-smart 2.2
os-sunnyvalley 1.2_3
os-theme-cicada 1.33
os-wireguard 1.13_5
>>> Check locked packages
No locks found.
>>> Check for missing package dependencies
Checking all packages: .......... done
php80-pecl-mongodb has a missing dependency: php80
>>> Check for missing or altered package files
Checking all packages......... done
>>> Check for core packages consistency
Core package "opnsense" has 66 dependencies to check.
Checking packages: ................................................................... done
***DONE***


EDIT:
Tried running pkg delete php80-pecl-mongodb and waiting to see if that fixed the issued