Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to install Anaconda3-2019.10-Linux-x86_64 getting -> conda.exe: error while loading shared libraries: libz.so.1: failed to map segment from shared object: Operation not permitted error #11587

Closed
bkrishna2006 opened this issue Feb 3, 2020 · 9 comments

Comments

@bkrishna2006
Copy link

bkrishna2006 commented Feb 3, 2020

Actual Behavior

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

Expected Behavior

Should complete installation without errors.

Steps to Reproduce

  1. wget https://repo.anaconda.com/archive/Anaconda3-2019.10-Linux-x86_64.sh
  2. bash ./Anaconda3-2019.10-Linux-x86_64.sh
Anaconda or Miniconda version:

Anaconda3-2019.10-Linux-x86_64

Operating System:

"Red Hat Enterprise Linux Server" VERSION="7.7 (Maipo)"

conda info

Not applicable yet

conda list --show-channel-urls

Not applicable yet

I've followed the resolutinos steps mentioned in #11493, and #11154 by @davidlowryduda, @Pastthesun, but that doesn't fix my issue.

@bkrishna2006
Copy link
Author

Just an update ... 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.

@jatin7gupta
Copy link

I am facing the same issue.

@bkrishna2006
Copy link
Author

Wondering if there are any takers for this issue; it's been 10 days ! @csoja - I believe you are an SME on this. Can you please see if you can help ? Thank you !

@cercis
Copy link

cercis commented Feb 14, 2020

Hey folks,

On RHEL7.2 using the Anaconda3-2019.10-Linux-x86_64.sh installer I've had success setting TMPDIR rather than TMP (assuming your /tmp is mounted with noexec). Setting TMP to an alternate location doesn't appear to do the trick.

Kind regards,

Chris

@davidlowryduda
Copy link

For reference on why the solution of @cercis might work, see #11154 (comment)

@rivera10
Copy link

Had the same issue. Setting TMPDIR worked for me.

@ghost
Copy link

ghost commented Mar 17, 2020

Hey folks,

On RHEL7.2 using the Anaconda3-2019.10-Linux-x86_64.sh installer I've had success setting TMPDIR rather than TMP (assuming your /tmp is mounted with noexec). Setting TMP to an alternate location doesn't appear to do the trick.

Kind regards,

Chris

On ubuntu 18, TMPDIR works, mkdir ~/tmpconda; TMPDIR=~/tmpconda bash Anaconda3-*

@bkrishna2006
Copy link
Author

Ok; I didn't get a chance to try out the TMPDIR option; but since this is reported as having worked for many, marking this issue as closed. Thanks all for the response !

@HakamRashid
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants