[SOLVED] Install problem


#1

[ 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.


#2

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


#3

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


#4

now i tying sudo apt-get install lxml2-dev


#5

Tt is ok.Thank you !


#6

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


#7

sudo apt-get install libxml2-dev


#8

thanks, solve my problem