Fatal error when compiling STAR under Linux

268 views
Skip to first unread message

Parnal Joshi

unread,
Jun 17, 2021, 3:05:29 PM6/17/21
to rna-star
Makefile:116: Depend.list: No such file or directory
make -C htslib lib-static
make[1]: Entering directory '/var/snap/amazon-ssm-agent/3552/tools/vif/STAR-2.7.8a/source/htslib'
cc -g -Wall -O2  -I. -DSAMTOOLS=1 -c -o bgzf.o bgzf.c
In file included from bgzf.c:38:0:
htslib/bgzf.h:33:10: fatal error: zlib.h: No such file or directory
 #include <zlib.h>
          ^~~~~~~~
compilation terminated.
Makefile:99: recipe for target 'bgzf.o' failed
make[1]: *** [bgzf.o] Error 1
make[1]: Leaving directory '/var/snap/amazon-ssm-agent/3552/tools/vif/STAR-2.7.8a/source/htslib'
Makefile:126: recipe for target 'htslib/libhts.a' failed
make: *** [htslib/libhts.a] Error 2

Alexander Dobin

unread,
Jun 17, 2021, 3:09:13 PM6/17/21
to rna-star
Hi,

this means that zlib library is missing, you would need to install it before compiling.

Cheers
Alex

Reply all
Reply to author
Forward
0 new messages