Open raihan0824 opened 1 year ago
Error while Linking CXX
make -j4
[ 0%] Built target marian_version [ 3%] Built target nccl_install [ 15%] Built target libyaml-cpp [ 20%] Built target sentencepiece_train-static [ 22%] Built target SQLiteCpp [ 25%] Built target pathie-cpp [ 31%] Built target zlib [ 33%] Built target faiss [ 34%] Built target intgemm [ 34%] Built target 3rd_party_installs [ 50%] Built target sentencepiece-static [ 52%] Built target spm_encode [ 52%] Built target spm_train [ 52%] Built target spm_decode [ 53%] Built target spm_normalize [ 54%] Built target spm_export_vocab [ 60%] Built target marian_cuda [ 96%] Built target marian [ 99%] Built target marian_decoder [ 99%] Built target marian_conv [ 99%] Built target marian_scorer [ 99%] Built target marian_vocab [100%] Linking CXX executable ../marian /usr/bin/ld: ../local/lib/libnccl_static.a(shm.o): undefined reference to symbol 'shm_open@@GLIBC_2.2.5' /usr/bin/ld: /lib/x86_64-linux-gnu/librt.so.1: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status make[2]: [src/CMakeFiles/marian_train.dir/build.make:95: marian] Error 1 make[1]: [CMakeFiles/Makefile2:643: src/CMakeFiles/marian_train.dir/all] Error 2 make: *** [Makefile:152: all] Error 2
Bug description
Error while Linking CXX
How to reproduce
make -j4
Context
[ 0%] Built target marian_version [ 3%] Built target nccl_install [ 15%] Built target libyaml-cpp [ 20%] Built target sentencepiece_train-static [ 22%] Built target SQLiteCpp [ 25%] Built target pathie-cpp [ 31%] Built target zlib [ 33%] Built target faiss [ 34%] Built target intgemm [ 34%] Built target 3rd_party_installs [ 50%] Built target sentencepiece-static [ 52%] Built target spm_encode [ 52%] Built target spm_train [ 52%] Built target spm_decode [ 53%] Built target spm_normalize [ 54%] Built target spm_export_vocab [ 60%] Built target marian_cuda [ 96%] Built target marian [ 99%] Built target marian_decoder [ 99%] Built target marian_conv [ 99%] Built target marian_scorer [ 99%] Built target marian_vocab [100%] Linking CXX executable ../marian /usr/bin/ld: ../local/lib/libnccl_static.a(shm.o): undefined reference to symbol 'shm_open@@GLIBC_2.2.5' /usr/bin/ld: /lib/x86_64-linux-gnu/librt.so.1: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status make[2]: [src/CMakeFiles/marian_train.dir/build.make:95: marian] Error 1 make[1]: [CMakeFiles/Makefile2:643: src/CMakeFiles/marian_train.dir/all] Error 2 make: *** [Makefile:152: all] Error 2