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

build failed: /usr/bin/ld: cannot find -ledit #4111

Closed
zhiqiu opened this issue Oct 12, 2019 · 3 comments
Closed

build failed: /usr/bin/ld: cannot find -ledit #4111

zhiqiu opened this issue Oct 12, 2019 · 3 comments

Comments

@zhiqiu
Copy link
Contributor

zhiqiu commented Oct 12, 2019

Hi, I followed Install from Source to compile tvm on ubuntu-16.04, but got failure from linker.

/usr/bin/ld: cannot find -ledit

I have install the requirements like this,
sudo apt-get update && sudo apt-get install -y python3 python3-dev python3-setuptools gcc libtinfo-dev zlib1g-dev build-essential cmake

Would you please tell how to install edit library? Thanks.

@zhiqiu
Copy link
Contributor Author

zhiqiu commented Oct 12, 2019

OK, I find the solution.
apt-get install libedit-dev
apt-get install libxml2-dev
I suggest add these two libs to the documentationInstall from Source.

@tqchen
Copy link
Member

tqchen commented Oct 12, 2019

Thanks for the suggestion, please send a PR to fix the docs https://github.com/dmlc/tvm/tree/master/docs this is a dependency of LLVM

For subsequent trouble shooting related question, please open a new thread on https://discuss.tvm.ai/

@nft30001
Copy link

nft30001 commented Jul 7, 2021

sudo apt-get install libgmp3-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

3 participants