🌐
Anaconda.org
anaconda.org › conda-forge › zlib
zlib - conda-forge | Anaconda.org
zlib is designed to be a free, general-purpose, lossless data-compression library for use on virtually any computer hardware and operating system.
conda-forge
View packages from the conda-forge channel on Anaconda.org.
Python - anaconda
Install python with Anaconda.org. General purpose programming language
Opencv
Install opencv with Anaconda.org. Computer vision and machine learning software library.
Matplotlib
Install matplotlib with Anaconda.org. Publication quality figures in Python
🌐
GitHub
github.com › conda-forge › zlib-feedstock
GitHub - conda-forge/zlib-feedstock: A conda-smithy repository for zlib.
A conda-smithy repository for zlib. Contribute to conda-forge/zlib-feedstock development by creating an account on GitHub.
Starred by 3 users
Forked by 36 users
Languages   Batchfile 75.2% | Shell 12.9% | C 11.9% | Batchfile 75.2% | Shell 12.9% | C 11.9%
🌐
Libraries.io
libraries.io › conda › libzlib
libzlib 1.3.1 on conda - Libraries.io - security & maintenance data for open source software
March 26, 2022 - zlib is designed to be a free, general-purpose, lossless data-compression library for use on virtually any computer hardware and operating system. Homepage Repository conda C Download · License · Zlib · Install · conda install -c anaconda ...
🌐
Anaconda.org
anaconda.org › conda-forge › zlib-ng
zlib-ng - conda-forge | Anaconda.org
Install zlib-ng with Anaconda.org. zlib data compression library for the next generation systems
🌐
Anaconda.org
anaconda.org › anaconda › zlib
zlib - anaconda
View packages from the anaconda channel on Anaconda.org.
🌐
Anaconda.org
anaconda.org › anaconda › zlib-devel-amzn2-aarch64
zlib-devel-amzn2-aarch64 - anaconda | Anaconda.org
The zlib-devel package contains the header files and libraries needed to develop programs that use the zlib compression and decompression library.
🌐
Prefix.dev
prefix.dev › channels › conda-forge › packages › zlib
zlib - conda-forge
A community led collection of recipes, build infrastructure and distributions for the conda package manager. ... zlib is designed to be a free, general-purpose, lossless data-compression library for use on virtually any computer hardware and operating system.
🌐
Libraries.io
libraries.io › conda › zlib
zlib 1.3.1 on conda - Libraries.io - security & maintenance data for open source software
September 20, 2019 - zlib is designed to be a free, general-purpose, lossless data-compression library for use on virtually any computer hardware and operating system. Homepage Repository conda C Download · License · Zlib · Install · conda install -c anaconda ...
🌐
Anaconda.org
anaconda.org › anaconda › zlib › files
Files | Anaconda.org
View packages from the anaconda channel on Anaconda.org.
Find elsewhere
🌐
Anaconda.org
anaconda.org › anaconda › zlib › files
zlib - anaconda | Anaconda.org
Install zlib with Anaconda.org. A massively spiffy yet delicately unobtrusive compression library
Top answer
1 of 3
2

I believe that the problem lies with the configuration of autotools in r-base>3.4.1b2, but I'm not competent to fix that. The plus side is that, although configure can't find zlib during the pre-installation, zlib is actually present in any Conda environment with r-base and can be linked during the actual installation. I filed an issue at Conda-Forge, but until and unless the issue is resolved in r-base, I made a fork of ShortRead which skips the check. It works for me with r-base=3.5.1.

tldr: remotes::install_github("brendanf/ShortRead")

2 of 3
0

I had the same error for the past week. I tried every thing that was mentioned regarding the zlib library on the internet. I couldn't fix it properly. I have the zlib installed as when I run: pkg-config zlib --libs; I get as output: -lz $ pkg-config zlib --libs -lz

I am running conda (v4.5.4). R version 3.4.3 and I have R as a conda environment. I think the problem is with multiple zlib libraries (ubuntu base and conda).

Somehow I just made this to work. What I did was to install R in ubuntu shell (i.e. outside conda) and install the ShortRead library there. There was no conflict/error with the zlib. After that I added the core Rlib directories to libPaths in conda.

$.libPaths(c('/home/aridaman/.conda/envs/rstudio/lib/R/library','/usr/local/lib/R/site-library/','/usr/lib/R/site-library','/usr/lib/R/site-library'))

This is not ideal but somehow worked for me. I would be glad to have a better conda based solution.

🌐
Anaconda
anaconda.org › channels › main › packages › zlib › overview
zlib - main | Anaconda.org
3 weeks ago - zlib is designed to be a free, general-purpose, lossless data-compression library for use on virtually any computer hardware and operating system.
🌐
Anaconda.org
anaconda.org › conda-forge › libzlib
libzlib - conda-forge | Anaconda.org
Install libzlib with Anaconda.org. zlib data compression library for the next generation systems
Top answer
1 of 5
1
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()) · > quit() · $ 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.
2 of 5
1
I had what seems to be the exact same problem, installing ShortRead in a conda environment. I was able to solve the problem for myself, so I hope this can help others having the same issue. · Long story short, this error seems to happen with zlib v1.2.11 but not zlib v1.2.8. So I made sure my environment was using this version: · $ conda create -n myenv zlib=1.2.8 · After this, installing ShortRead worked fine. · $ source activate myenv · $ R · > source("https://bioconductor.org/biocLite.R") · > biocLite("ShortRead") · Note that it might be possible to downgrade zlib: · $ conda install -c anaconda zlib=1.2.8 · However, in my case this broke some other packages, which is why I had to create an entirely new environment. Hope this helps.
🌐
SageMath
doc.sagemath.org › html › en › reference › spkg › zlib.html
zlib: Data compression library - Packages and Features
$ apk add zlib-dev conda-forge · $ conda install zlib Debian/Ubuntu · $ sudo apt-get install libz-dev Fedora/Redhat/CentOS · $ sudo yum install zlib-devel Homebrew · $ brew install zlib MacPorts · $ sudo port install zlib openSUSE · $ sudo zypper install pkgconfig\(zlib\) pyodide ·
🌐
GitHub
github.com › conda-forge › zlib-ng-feedstock
GitHub - conda-forge/zlib-ng-feedstock: A conda-smithy repository for zlib-ng.
A conda-smithy repository for zlib-ng. Contribute to conda-forge/zlib-ng-feedstock development by creating an account on GitHub.
Forked by 7 users
Languages   Batchfile 82.1% | Shell 17.9% | Batchfile 82.1% | Shell 17.9%
🌐
Anaconda.org
anaconda.org › anaconda › zlib-ng
Zlib Ng
View packages from the anaconda channel on Anaconda.org.
🌐
Prefix.dev
prefix.dev › channels › conda-forge › packages › zlib-ng
zlib-ng - conda-forge
conda-forge · / zlib-ng · conda-forge · public · 31.8k Packages · A community led collection of recipes, build infrastructure and distributions for the conda package manager. A community led collection of recipes, build infrastructure and distributions for the conda package manager.