I had this kind of error,keep me from booting a Desktop GUI for several months!!
See, Failed to load module "libinput" (loader failed, 0) above.
/usr/local/lib/libinput.so.10: Undefined symbol "versionsort@FBSD_1.7"
Yes the new /lib/libc.so.7 library file created from cd /usr/src; make buildworld has the necessary library linking symbol versionsort
All I did was update the packages to newest version:
pkg update
pkg upgrade
TL;DR
Versionsort module error FSBD1.7 not found my many page blogpost, cause I did not KNOW what I was looking for and how to fix
cd /usr/src
make buildworld
make installworld
Well that is what errors are good for: to make you study and learn stuff
readelf -s /lib/libc.so.7 | grep -i version
Sir Dice or others: How would you locate, affirm, or deny existence of the missing "version" symbol in /lib/libc.so.7? I showed my example.