Date: 2017jan16
OS: freebsd
Q. Why do I get: /lib/libc.so.7: version FBSD_1.4 required by /usr/local/lib/libpkg.so.3 not found
A. Today, doing:
pkg upgrade
Updates pkg itself and gives error:
/lib/libc.so.7: version FBSD_1.4 required by /usr/local/lib/libpkg.so.3 not found
This seems to be telling you to upgrade the entire OS.
The following worked for me.
freebsd-update fetch install
Reboot like this:
shutdown -r now
I looked at Look at
https://www.freebsd.org to see the latest release was 11.0 but updating to that didn't work (integrity check) so I just upgraded to 10.2:
freebsd-update -r 10.2-RELEASE upgrade install