Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

886
Views
conda.exe: error while loading shared libraries: libz.so.1

Unable to install Anaconda3-2019.10-Linux-x86_64 in my RHEL machine; Getting the error -> conda.exe: error while loading shared libraries: libz.so.1: failed to map segment from shared object: Operation not permitted.

Anaconda or Miniconda version: Anaconda3-2019.10-Linux-x86_64 Operating System:"Red Hat Enterprise Linux Server" VERSION="7.7 (Maipo)"

Steps to Reproduce

wget https://repo.anaconda.com/archive/Anaconda3-2019.10-Linux-x86_64.sh bash ./Anaconda3-2019.10-Linux-x86_64.sh

I've followed the resolution steps mentioned in Github #11493, and #11154 by @davidlowryduda, @Pastthesun, but that doesn't fix my issue. Have posted the issue in Github as #11587.

I tried with older version of Anaconda --> Anaconda3-2019.07-Linux-x86_64 and Anaconda3-2019.03-Linux-x86_64. Anaconda3-2019.07-Linux-x86_64 did not give the same issue related to libz.so.1, but gave another error. But I had a smooth installation with Anaconda3-2019.03-Linux-x86_64.

over 4 years ago · Santiago Trujillo
3 answers
Answer question

0

I faced similar issue in Debian 10 and fixed the issue by exporting a writeable path to TMP environment variable.

Reference: https://github.com/ContinuumIO/anaconda-issues/issues/11154

over 4 years ago · Santiago Trujillo Report

0

The problem may be your /tmp is set to noexec in /etc/fstab. Verify with grep tmp /etc/fstab.

Run the installer with TMPDIR set to a directory you have write permissions to, on a file system with executable permission. i.e.:

mkdir /users/$USER/tmpconda
TMPDIR=/users/$USER/tmpconda bash Miniconda2-latest-Linux-x86_64.sh

Solution was found at Anaconda Issues 11587

A quick test of executability on a file system:

$ touch foo && chmod +x foo && ./foo
-bash: ./foo: Permission denied

noexec will cause "Permission denied" even if x is set on the file.

over 4 years ago · Santiago Trujillo Report

0

I solved it like this: -- run the command >>>

mount |grep tmp

check a tmp partition that does not contain the attribute: noexec and that contains the attribute: rw

in my case:

devtmpfs on /dev type devtmpfs
(rw,nosuid,seclabel,size=3775584k,nr_inodes=943896,mode=755)

run in terminal:

export TMP='path/to/tmp'& export TMPDIR='path/to/tmp'& bash Anaconda_install_file.sh
over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!