Linux | conda | libtinfo.so.6 no version information available
Error
The error libtinfo.so.6: no version information available typically occurs because the ncurses package provided by the default Conda channel lacks symbol versioning, which system binaries (like bash or samtools) expect.
Check and Fix
根據 StackOverflow 上的建議,我需要升級 conda-forge 的 ncursesw
1 | |
但還是會報警。對比發現是安裝的版本來自 anaconda channel,而非conda-forge
1 | |
原來是兩個 channel 同時存在相同版本,在沒有設定channel priority的情況下可能優先安排了 anaconda 的版本。
為了確保安裝到 conda-forge 版本,還需要指定版本和 build 進行安裝
1 | |
Done
remove channcels: defaults
1 | |
References
Linux | conda | libtinfo.so.6 no version information available
https://waipangsze.github.io/2026/04/20/Linux-Conda-no-version-information-available/