vim doesn't work anymore

Bash:
~ vim
ld-elf.so.1: /lib/libc.so.7: version FBSD_1.7 required by /usr/local/lib/libpython3.9.so.1.0 not found
freebsd-version
13.0-RELEASE-p12
 
Can you specify more details?
Are you tried to upgrade FreeBSD or some packages before?
Please show the output of the command:
ldd /usr/local/lib/libpython3.9.so.1.0

In my opinion, you can try to update libpython3.9 as a first step.
 
FreeBSD 13.0 was EOL August last year, so maybe you've tried to update ports/packages that will rely on FreeBSD 13.1 or 13.2.
That's almost certainly the cause. Official packages can't depend on 13.2 yet (only after EOL of 13.1), but they will depend on symbol versions introduced with 13.1 for sure.

Solution: Upgrade your system to 13.2.
 
The reliability and stability of FreeBSD come from a consisting system,
which can achieved easily by just stick to what's written in the HB,
and be easily disturbed by not to.

Quasi all issues of any software not working anymore under FreeBSD
are caused from installations or upgrades done not sticking to the HB,
e.g. mixing up ports and packages installations,
or trying to install versions not consisting to the rest of the system,
which again can only be done by not doing it like written in the HB.

Exception only if you have a very good reason not to,
including you know exactly what you're doing, and why.

If you want to install a software under FreeBSD,
always first check if there is a package for it:
# pkg search [name of sw]
If the software is capable of running under FreeBSD, quite sure you'll find the according package.
Stick to it.

Don't bother
if FreeBSD packages provide version 0.1.0.0.1, but yesterday 0.1.0.0.1.0-a was released.
Especially not, if your system lags behind 2 years ([in]consistency.)
 
Back
Top