Skip to content
This repository has been archived by the owner on Feb 7, 2023. It is now read-only.

make error in Ubuntu16.04 #855

Open
Vivianyzw opened this issue Jun 23, 2017 · 2 comments
Open

make error in Ubuntu16.04 #855

Vivianyzw opened this issue Jun 23, 2017 · 2 comments

Comments

@Vivianyzw
Copy link

When I try to make Caffe2 I encountered this error:
[ 79%] Linking CXX executable binaries/typeid_test
//usr/lib/x86_64-linux-gnu/libunwind.so.8: undefined reference to lzma_index_size@XZ_5.0' //usr/lib/x86_64-linux-gnu/libunwind.so.8: undefined reference to lzma_stream_footer_decode@XZ_5.0'
//usr/lib/x86_64-linux-gnu/libunwind.so.8: undefined reference to lzma_index_uncompressed_size@XZ_5.0' //usr/lib/x86_64-linux-gnu/libunwind.so.8: undefined reference to lzma_stream_buffer_decode@XZ_5.0'
//usr/lib/x86_64-linux-gnu/libunwind.so.8: undefined reference to lzma_index_buffer_decode@XZ_5.0' //usr/lib/x86_64-linux-gnu/libunwind.so.8: undefined reference to lzma_index_end@XZ_5.0'
collect2: error: ld returned 1 exit status
caffe2/CMakeFiles/typeid_test.dir/build.make:137: recipe for target 'caffe2/binaries/typeid_test' failed
make[3]: *** [caffe2/binaries/typeid_test] Error 1
make[3]: Leaving directory '/home/vivian/caffe2/build'
CMakeFiles/Makefile2:1437: recipe for target 'caffe2/CMakeFiles/typeid_test.dir/all' failed
make[2]: *** [caffe2/CMakeFiles/typeid_test.dir/all] Error 2
make[2]: Leaving directory '/home/vivian/caffe2/build'
Makefile:138: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/vivian/caffe2/build'
Makefile:4: recipe for target 'all' failed
make: *** [all] Error 2
did anybody have the same error with me? and How did you addressed this problem?

@imyourm8
Copy link

sudo apt-get install lzma ?

@aaronmarkham
Copy link
Contributor

Haven't seen this pop up before, but there is this issue with old Caffe that seems to match:
BVLC/caffe#3814

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

No branches or pull requests

3 participants