OPNsense Forum

Archive => 22.1 Legacy Series => Topic started by: ziel on March 23, 2022, 07:01:45 AM

Title: ld-elf.so.1: Shared object "libucl.so.5" not found, required by "opnsense-verify
Post by: ziel on March 23, 2022, 07:01:45 AM
1) Tried to upgrade from 21.7.8 via Web gui
2) GUI and SSH not responsive after upgrade
3) connect via serial port, IP addresses and interfaces seem to née OK, Routing (Internet access) is working
4) Try to upgrade via serial console (Option 12)

Fails with message:
ld-elf.so.1: Shared object "libucl.so.5" not found, required by "opnsense-verify"

http, https and ssh remain unresponsive.
Now I have kind of bricked firewall, that still routes traffic.
How to resolve?
Title: Re: ld-elf.so.1: Shared object "libucl.so.5" not found, required by "opnsense-verify
Post by: franco on March 23, 2022, 07:24:06 AM
Run the following from the console (option 8)

# opnsense-bootstrap


Cheers,
Franco
Title: Re: ld-elf.so.1: Shared object "libucl.so.5" not found, required by "opnsense-verify
Post by: ziel on March 23, 2022, 08:03:58 AM
root@naboo:~ # opnsense-bootstrap
Must be a FreeBSD 12 release.

root@naboo:~ # uname -a
FreeBSD naboo.jungle 13.0-STABLE FreeBSD 13.0-STABLE hyperv-n248055-e91d90c0ac0 SMP  amd64
Title: Re: ld-elf.so.1: Shared object "libucl.so.5" not found, required by "opnsense-verify
Post by: franco on March 23, 2022, 08:17:18 AM
Looks like the thing is pretty broken. Let's apply more force more or less via https://github.com/opnsense/update#opnsense-bootstrap

# fetch https://raw.githubusercontent.com/opnsense/update/master/src/bootstrap/opnsense-bootstrap.sh.in
# sh ./opnsense-bootstrap.sh.in -r 22.1
Title: Re: ld-elf.so.1: Shared object "libucl.so.5" not found, required by "opnsense-verify
Post by: ziel on March 23, 2022, 12:34:17 PM
This one worked, thanks!
  8)