srilm-python icon indicating copy to clipboard operation
srilm-python copied to clipboard

undefined symbol: lbfgs

Open yhifny opened this issue 2 years ago • 1 comments

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

yhifny avatar Sep 05 '22 08:09 yhifny

I had the same problem. This fixed it: sudo apt install liblbfgs0 liblbfgs-dev

drtonyr avatar Nov 06 '22 13:11 drtonyr