10 weeks ago by
I'd ensure that this was seen by R, and that the header for libz (typically, installing the '-dev' version of the library) are available.
As a next step, if from the command line and with the unpacked source tarball available you try to install the package
> download.packages("ShortRead", ".", repos = BiocInstaller::biocinstallRepos())
$ tar xzf ShortRead_*gz
$ cd ShortRead
ShortRead$ R CMD INSTALL .
and then look for config.log you'll see something like
configure:2897: checking for gzeof in -lz
configure:2922: gcc -o conftest -g -O2 conftest.c -lz >&5
configure:2922: $? = 0
configure:2931: result: yes
except that you won't get that result, and there'll be a conftest.c file and perhaps informative messages. I'd also look on the mailing list / support site for whatever 'conda' manager you're using for similar messages.