pfSense-pkg-crowdsec icon indicating copy to clipboard operation
pfSense-pkg-crowdsec copied to clipboard

Cannot install: Shared object "libutil.so.10" not found, required by "pkg"

Open frli4797 opened this issue 2 months ago • 1 comments

Trying to install on my pfSense 25.07.1-RELEASE (amd64) is not successful. It (ld-elf.so.1) requires libutil.so.10. which makes install fail.

v0.1.6-1.7.3-33/freebsd-15-amd64.tar pfSense 25.07.1-RELEASE (amd64) Intel(R) Core(TM) i3-7100U CPU @ 2.40GHz

> sh install-crowdsec.sh
Checking pfSense package dependencies...
done.
#----------------------------------------------------------------#
# This script is intended to be used only if the CrowdSec        #
# package is not available in the official pfSense repositories, #
# or to test pre-release versions.                               #
# Please check the pfSense package manager before proceeding.    #
#----------------------------------------------------------------#

Do you want to continue? (y/N) y

Looking up https://api.github.com/repos/crowdsecurity/pfSense-pkg-crowdsec/releases/latest
Selecting archive for FreeBSD 15/amd64

The archive to be downloaded is: https://github.com/crowdsecurity/pfSense-pkg-crowdsec/releases/download/v0.1.6-1.7.3-33/freebsd-15-amd64.tar

Do you want to proceed with the download? (y/N) y
Downloading archive: https://github.com/crowdsecurity/pfSense-pkg-crowdsec/releases/download/v0.1.6-1.7.3-33/freebsd-15-amd64.tar
done.
Extracting archive to /tmp/tmp.oLKpbTleVY

The following packages are ready for installation:
 - crowdsec-firewall-bouncer-0.0.33.pkg
 - crowdsec-1.7.3.pkg
 - pfSense-pkg-crowdsec-0.1.6.pkg

Do you want to install them now? (y/N) y
Stopping crowdsec services...
crowdsec does not exist in /etc/rc.d or the local startup
directories (/usr/local/etc/rc.d), or is not executable
crowdsec_firewall does not exist in /etc/rc.d or the local startup
directories (/usr/local/etc/rc.d), or is not executable
Checking for orphan processes...
No orphan process found.
Installing crowdsec-firewall-bouncer-0.0.33.pkg
ld-elf.so.1: Shared object "libutil.so.10" not found, required by "pkg"

frli4797 avatar Oct 31 '25 10:10 frli4797

Answering my own thread here after some research.

This fixed the problem, which seems to been a partly successful pfSense upgrade.

certctl rehash 
pkg-static update -f && pkg-static install -fy pkg pfSense-repo pfSense-upgrade

frli4797 avatar Oct 31 '25 11:10 frli4797