[SOLVED] Install problem

[ 85%] Linking CXX shared library libtvm.so
/usr/bin/ld: cannot find -ledit
collect2: error: ld returned 1 exit status
CMakeFiles/tvm.dir/build.make:5772: recipe for target ‘libtvm.so’ failed
make[2]: *** [libtvm.so] Error 1
CMakeFiles/Makefile2:205: recipe for target ‘CMakeFiles/tvm.dir/all’ failed
make[1]: *** [CMakeFiles/tvm.dir/all] Error 2
Makefile:129: recipe for target ‘all’ failed
make: *** [all] Error 2

I try sudo apt-get install ledit,but resullt change nothing.

Have you tried sudo apt-get install libedit-dev?

i have tried,now return /usr/bin/ld: cannot -lxml2.

now i tying sudo apt-get install lxml2-dev

Tt is ok.Thank you !

If your problem is resolved please add [solved] to the beginning of the title of the topic to make that clear. Thanks.

sudo apt-get install libxml2-dev

thanks, solve my problem