All Bioconda packages are generated with very specific channel priorities, namely conda-forge > bioconda > defaults and if one doesn't follow this, correct solving and dynamic library references cannot be guaranteed. So, a proper ad hoc installation command would be

conda install -c conda-forge -c bioconda -c defaults perl-bioperl=1.7.8

Encouraged Workflow

However, I would strongly encourage bioinformaticians (and other practitioners that value reproducible workflows) to not use ad hoc commands. Instead, adopt the practice of only working from YAML files to define software environments:

bioperl_1_7_8.yaml

name: bioperl_1_7_8
channels:
  - conda-forge
  - bioconda
  - defaults
dependencies:
  - perl
  - bioperl=1.7.8

Use this with conda env create -f bioperl_1_7_8.yaml.

Answer from merv on Stack Overflow
🌐
Anaconda.org
anaconda.org › conda-forge › zlib
zlib - conda-forge | Anaconda.org
Install zlib with Anaconda.org. Massively spiffy yet delicately unobtrusive compression library
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%
🌐
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.
🌐
Bioconductor
support.bioconductor.org › p › 9147106
ShortRead Installation in R 4.2.0 and zlib library
October 15, 2022 - So can you install ShortRead with conda (not zlib per se)? The top of this comment Installing ShortRead - error: zlib not found even with zlib in LD_LIBRARY_PATH has an example that was reproducible at the time. Personally, I would install R natively (both r-base and r-base-dev) following these instructions https://cloud.r-project.org/bin/linux/ubuntu/fullREADME.html. And if necessary I'd use apt to install zlib1g-dev ·
🌐
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. - 1.3.1 - ...
🌐
Anaconda.org
anaconda.org › anaconda › zlib
zlib - anaconda
View packages from the anaconda channel on Anaconda.org.
🌐
SageMath
doc.sagemath.org › html › en › reference › spkg › zlib.html
zlib: Data compression library - Packages and Features
Features for testing the presence of package systems sage_spkg, conda, pip, debian, fedora etc.
Find elsewhere
🌐
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. - 1.3.1 - ...
🌐
Readthedocs
reademption.readthedocs.io › en › latest › installation.html
Installation and updating — READemption 2.0.4 documentation
sudo apt-get install python3 python3-setuptools python3-pip python3-matplotlib cython3 zlib1g-dev make libncurses5-dev r-base libxml2-dev
🌐
Readthedocs
nanopype.readthedocs.io › en › latest › installation › src
Source - Nanopype Documentation
zlib1g-dev · bzip2 libbz2-dev · liblzma-dev libncurses5-dev · libcunit1 libhdf5-100 libidn11 libopenblas-base · libgssapi-krb5-2 · libzstd-dev · These packages are likely present in most production environments. Please also refer to the Dockerfiles in the singularity folder of the pipeline repository.
🌐
Deephealthproject
deephealthproject.github.io › pyecvl › installation.html
Installation — PyECVL documentation
EDDL needs the development versions of the zlib and Eigen3 libraries. To enable ONNX I/O, you also need to install Google protobuf. On Ubuntu, for instance, install the following with APT: libopencv-dev, libopenslide-dev, zlib1g-dev, libeigen3-dev, wget, ca-certificates.
🌐
Prefix.dev
prefix.dev › channels › conda-forge › packages › zlib-ng
prefix.dev – solving software package management
A community led collection of recipes, build infrastructure and distributions for the conda package manager.
🌐
Anaconda.org
anaconda.org › conda-forge › zlib › files
Files | Anaconda.org
Massively spiffy yet delicately unobtrusive compression library · Conda Files Labels Badges
🌐
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%
🌐
Oggm
docs.oggm.org › en › v1.5.0 › installing-oggm.html
Installing OGGM — OGGM 1.5.0 documentation
We recommend our users to use conda ... with conda. If you are familiar with pip and pyenv, the instructions below work as well: as of Sept 2020 (and thanks to pip wheels), a pyenv installation is possible without major issue on Debian/Ubuntu/Mint systems. Run the following commands to install the required linux packages. ... $ sudo apt-get install --no-install-recommends make build-essential git \ libssl-dev zlib1g-dev libbz2-dev ...
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.

🌐
Readthedocs
2017-dibsi-metagenomics.readthedocs.io › en › latest › day2-install.html
Day 2 - installation instructions — 2017-dibsi-metagenomics 1.0 documentation
sudo apt-get -y update && \ sudo apt-get -y install trimmomatic fastqc python-pip \ samtools zlib1g-dev ncurses-dev python-dev ... curl -O https://repo.continuum.io/archive/Anaconda3-4.2.0-Linux-x86_64.sh bash Anaconda3-4.2.0-Linux-x86_64.sh · Then update your environment and install khmer and sourmash: source ~/.bashrc conda install -n root pip -y pip install https://github.com/dib-lab/khmer/archive/master.zip pip install https://github.com/dib-lab/sourmash/archive/2017-ucsc-metagenome.zip
🌐
PyPI
pypi.org › project › cbmpy › 0.7.15
Client Challenge
JavaScript is disabled in your browser · Please enable JavaScript to proceed · A required part of this site couldn’t load. This may be due to a browser extension, network issues, or browser settings. Please check your connection, disable any ad blockers, or try using a different browser