Install DALI from source got error "file format not recognized" and "syntax error"
Open
Nobody has claimed this yet.
question
- Dominant language
- C++
- Stars
- 5.8k
- Forks
- 678
- Avg merge
- 3d 1h
- Merged PRs (30d)
- 27
Description
Describe the question.
Hi, I tried to install DALI from source but got an error while building it. Any Suggestions? Thank you.
Machine: Ubuntu20.04, CUDA 11.2, Docker 24.0.7
Command that I used:
git clone https://github.com/NVIDIA/DALI.git
git submodule sync --recursive
git submodule update --init --recursive
sudo ./build.sh
Error while install the DALI:
.....
[100%] Built target lint
++ grep '^processor' /proc/cpuinfo
++ wc -l
+ make -j48
[ 0%] Built target nvcv_util_compat
[ 0%] Built target cocoapi
[ 0%] Built target create_nvcv_types_exports_file
[ 0%] Built target create_cvcuda_exports_file
[ 0%] Built target DALI_PROTO
[ 1%] Built target dynlink_cuda
[ 1%] Built target nvcv_util_sanitizer
[ 1%] Built target CAFFE2_PROTO
[ 2%] Built target TF_PROTO
[ 2%] Built target CAFFE_PROTO
[ 3%] Built target ffts_static
[ 3%] Built target NVCUVID_GEN
[ 3%] Built target gtest
[ 4%] Built target cvcuda_version_file
[ 4%] Built target dynlink_nvml
[ 6%] Built target benchmark
[ 6%] Built target nvcv_util
[ 8%] Built target dali_core
[ 11%] Built target nvcv_types_priv
[ 11%] Linking CXX shared library ../../../../lib/libnvcv_types.so
/opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld:/opt/dali/third_party/cvcuda/src/util/stubs/libdl-2.17_stub.so: file format not recognized; treating as linker script
/opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld:/opt/dali/third_party/cvcuda/src/util/stubs/libdl-2.17_stub.so:1: syntax error
collect2: error: ld returned 1 exit status
make[2]: *** [lib/libnvcv_types.so.0.4.0] Error 1
make[1]: *** [third_party/cvcuda/src/nvcv_types/CMakeFiles/nvcv_types.dir/all] Error 2
make: *** [all] Error 2
Check for duplicates
- I have searched the open bugs/issues and have found no duplicates for this bug report
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.