srilm-python
srilm-python copied to clipboard
undefined symbol: lbfgs
Hello,
When I ran make, I got this error on ubuntu:
ImportError: /home/root/miniconda2/envs/tf_gpu/lib/python3.8/site-packages/srilm.cpython-38-x86_64-linux-gnu.so: undefined symbol: lbfgs
the lib lbfgs is listed in setup.py and I am not sure what the problem is.
Thanks, Yasser
I had the same problem. This fixed it: sudo apt install liblbfgs0 liblbfgs-dev