I have globally installed sagemath and I'm experiencing an undefined symbol problem. Each time I try to do
from sage.all import *
I get this error
ImportError: /usr/lib/python3.9/site-packages/sage/libs/lrcalc/lrcalc.cpython-39-x86_64-linux-gnu.so: undefined symbol: st_new
How can I fix the problem?