鲲鹏社区首页
中文
注册
我要评分
文档获取效率
文档正确性
内容完整性
文档易理解
在线提单
论坛求助

运行测试时报error while loading shared libraries错误

问题现象描述

运行测试时报错,报错信息类似:“error while loading shared libraries: libhts.so.2: cannot open shared object file: No such file or directory”。

关键过程、根本原因分析

未增加htslib环境变量。

结论、解决方案及效果

  1. 使用PuTTY工具,以root用户登录服务器。
  2. 执行以下命令指定htslib地址。

    export LD_LIBRARY_PATH=/path/to/HTSLIB/htslib-1.9:$LD_LIBRARY_PATH