Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

undefined symbol: lbfgs #8

Open
yhifny opened this issue Sep 5, 2022 · 1 comment
Open

undefined symbol: lbfgs #8

yhifny opened this issue Sep 5, 2022 · 1 comment

Comments

@yhifny
Copy link

yhifny commented Sep 5, 2022

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

@drtonyr
Copy link

drtonyr commented Nov 6, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants