---
title: 编译Cufflinks时报could not find htslib错误
description: "编译Cufflinks时报错，报错信息为：“make提示找不到htslib”。"
url: https://www.hikunpeng.com/document/detail/zh/kunpenghpcs/hpcindapp/trouble/bootkit_hpc_troublecase_0057.html
sourcePath: /source/zh/kunpenghpcs/hpcindapp/trouble/bootkit_hpc_troublecase_0057.html
indexId: 8df96912c70242290fa1b6b266efca328dd79bb174f7373b221679565c9f393974
---
# 编译Cufflinks时报could not find htslib错误

#### 问题现象描述

编译Cufflinks时报错，报错信息为：“make提示找不到htslib”。


#### 关键过程、根本原因分析

使用了samtools内置htslib，当前版本不支持内置版本。


#### 结论、解决方案及效果

需要在独立安装htslib，将生成的libhts.*复制到lib路径中，执行以下命令安装htslib。

tar -xvf htslib-1.9.tar.bz2

cd htslib-1.9

make

cp libhts.* /usr/local/lib
