Due to the above error, bash-4.4.19 from pkg will not start on
ah@xxxxxx:~ % uname -a
FreeBSD xxxxxx.haakh.de 12.0-CURRENT FreeBSD 12.0-CURRENT #0 r326622: Wed Dec 6 16:09:07 CET 2017 email@example.com:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64
ah@xxxxxx:~ % bash
Shared object "libdl.so.1" not found, required by "bash"
ah@xxxxxx:~ % ldd /usr/local/bin/bash
libncurses.so.8 => /lib/libncurses.so.8 (0x80092a000)
libintl.so.8 => /usr/local/lib/libintl.so.8 (0x800b7f000)
libdl.so.1 => not found (0)
libc.so.7 => /lib/libc.so.7 (0x800d8a000)
It looks like the bash binary on your system is missing libdl.so.1. I'm taking a guess that the package you've installed was built on a 12.0-CURRENT newer than r326622 (which you're using).
Could you try updating your system to a more recent 12.0-CURRENT and reinstall bash (including dependencies)?
# pkg upgrade -f
I just updated to 12.0-CURRENT as of Feb 26th (revision 329987) and libdl.so.1 appeared in /usr/lib
Thanks for your help and please close the PR.
Im saving the same issue, can you please help to resolve this.
Unable to login via root user to update the pkg.
The FreeBSD 'questions' mailing list would be a more suitable place ask your question. Please refer to: