1. 通过conda安装bcftools后运行报libgsl.so.25问题
2. 查看libgsl动态链接库
$ ldconfig -p | grep libgsl
libgslcblas.so.0 (libc6,x86-64) => /lib/x86_64-linux-gnu/libgslcblas.so.0
libgslcblas.so (libc6,x86-64) => /lib/x86_64-linux-gnu/libgslcblas.so
libgsl.so.23 (libc6,x86-64) => /lib/x86_64-linux-gnu/libgsl.so.23
libgsl.so (libc6,x86-64) => /lib/x86_64-linux-gnu/libgsl.so
3. 解决方法,可以直接创建软链接使得libgsl.so.25链接到已有的/lib/x86_64-linux-gnu/libgsl.so.23
ln -s /lib/x86_64-linux-gnu/libgsl.so.23 ~/miniconda3/lib/libgsl.so.25
4. 运行bcftools --version确认问题是否解决
bcftools 1.17
Using htslib 1.17
Copyright (C) 2023 Genome Research Ltd.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.