SG-1100 Reloading Curl dependencies
-
New to the world of pfSense by way of an SG-1100. I finally got things up and going, but noticed the following error logs and wondering if there is an easy way to remedy?
I reset once to factory, but the problem persists.
I will admit to being a n00b, but I follow instructions pretty good. Any help or direction is appreciated..
D
Crash report begins. Anonymous machine information:
arm64
11.3-STABLE
FreeBSD 11.3-STABLE #239 885b1ed26b6(factory-RELENG_2_4_5): Tue Jun 2 17:47:00 EDT 2020 root@buildbot3-nyi.netgate.com:/build/factory-crossbuild-245-aarch64/obj/aarch64/Og10eFss/build/factory-crossbuild-245-aarch64/sources/FreeBSD-src/sys/pfSenseCrash report details:
PHP Errors:
[15-Dec-2020 12:30:00 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'curl.so' (tried: /usr/local/lib/php/20170718/curl.so (Shared object "libnghttp2.so.14" not found, required by "libcurl.so.4"), /usr/local/lib/php/20170718/curl.so.so (/usr/local/lib/php/20170718/curl.so.so: invalid file format)) in Unknown on line 0
[15-Dec-2020 17:19:49 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'curl.so' (tried: /usr/local/lib/php/20170718/curl.so (Shared object "libnghttp2.so.14" not found, required by "libcurl.so.4"), /usr/local/lib/php/20170718/curl.so.so (/usr/local/lib/php/20170718/curl.so.so: invalid file format)) in Unknown on line 0No FreeBSD crash data found.
-
@dbinnyc
maybe try to reinstall curlpkg-static upgrade -f curl
or try
pkg-static clean -ay; pkg-static install -fy pkg pfSense-repo pfSense-upgrade
https://docs.netgate.com/pfsense/en/latest/troubleshooting/upgrades.html
or you can open a ticket at https://go.netgate.com
-
Did you come from an older version and upgrade at any time?
Import an old config maybe?
That looks like something is looking for the older php version lib which no longer exists in 2.4.5.
Steve
-
Thanks - yeah it was sitting on the shelf for a few months and I finally got a chance to start learning.
I'll give a one off reinstall of CURL a go.
Thanks
-
If you have not yet put it into production and there is a chance it had a firmware older than 2.4.5 on it I would open a ticket with us and get a fresh 2.4.5p1 firmware image to install clean.
https://go.netgate.com/Steve
-
@dbinnyc Did you install any packages? If it had a not-the-latest version of pfSense and packages for the latest version were installed (i.e. go to Packages and install anything), that can mess up dependencies. (https://redmine.pfsense.org/issues/10464)