Closed cement-head closed 4 months ago
From the full logs it looks like the linker can't find some symbols for htslib
/usr/bin/ld: ../3rdparty/htslib/lib/libhts.a(bgzf.o): in function `bgzf_encode_level0_func':
/home/cbfgws8/Programs/dorado/cmake-build/htslib_build/htslib/bgzf.c:1342: undefined reference to `libdeflate_crc32'
/usr/bin/ld: ../3rdparty/htslib/lib/libhts.a(bgzf.o): in function `bgzf_uncompress':
/home/cbfgws8/Programs/dorado/cmake-build/htslib_build/htslib/bgzf.c:721: undefined reference to `libdeflate_alloc_decompressor'
/usr/bin/ld: /home/cbfgws8/Programs/dorado/cmake-build/htslib_build/htslib/bgzf.c:727: undefined reference to `libdeflate_deflate_decompress'
/usr/bin/ld: /home/cbfgws8/Programs/dorado/cmake-build/htslib_build/htslib/bgzf.c:728: undefined reference to `libdeflate_free_decompressor'
/usr/bin/ld: /home/cbfgws8/Programs/dorado/cmake-build/htslib_build/htslib/bgzf.c:735: undefined reference to `libdeflate_crc32'
/usr/bin/ld: ../3rdparty/htslib/lib/libhts.a(bgzf.o): in function `bgzf_compress':
/home/cbfgws8/Programs/dorado/cmake-build/htslib_build/htslib/bgzf.c:604: undefined reference to `libdeflate_crc32'
/usr/bin/ld: /home/cbfgws8/Programs/dorado/cmake-build/htslib_build/htslib/bgzf.c:579: undefined reference to `libdeflate_alloc_compressor'
/usr/bin/ld: /home/cbfgws8/Programs/dorado/cmake-build/htslib_build/htslib/bgzf.c:584: undefined reference to `libdeflate_deflate_compress'
/usr/bin/ld: /home/cbfgws8/Programs/dorado/cmake-build/htslib_build/htslib/bgzf.c:596: undefined reference to `libdeflate_free_compressor'
/usr/bin/ld: /home/cbfgws8/Programs/dorado/cmake-build/htslib_build/htslib/bgzf.c:590: undefined reference to `libdeflate_free_compressor'
We ship pre-built binaries for dorado. The latest builds can be found here - https://github.com/nanoporetech/dorado#installation . That might be sufficient for your use case.
@tijyojwad Yep, thanks - everntually did that (downloaded the pre-compiled binary).
Well, solved it - 18.04 doesn't have libdeflate, so I downloaded the packages from Focal Fossa (20.04).
URL: https://launchpad.net/ubuntu/+source/libdeflate/1.5-3/+build/18699119
Nope, that did not solve the issue. I get the same problem on both an 18.04 machine and a 22.04 machine.
The true source of this problem is the ORDER of linking of the libraries.
Hi @cement-head - can you elaborate on this issue? What change in ordering fixed it for you?
Hi @cement-head , By any chance you've managed to solve the link issues?
Closing due to inactivity.
dorado_error.txt Looks as though there's a bug with PyTorch that crashes the last steps..Error 1 and Error 2 when compiling at the very last step - see output below.