conda.exe: error while loading shared libraries: libz.so.1
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.
docker compose: Error while loading shared libraries: libz.so.1: failed to map segment from shared object: Operation not permitted
Got it solved by re-mounting the /tmp to give the volume permission to execute (it was accessible with read-only). So this solved:
sudo mount /tmp -o remount,exec
Not able to install anaconda on linux, getting error path_to_dir/conda.exe : Permisison denied
My ssd was mounted with options auto,exec,rw,user
. After removing user
, I was able to install the miniconda3. The comment in this stackoverflow answer gave me the solution to my problem.
Related Topics
How to Imshow with Invisible Figure in Matlab Running on Linux
Why Can Back-Quotes and $() for Command Substitution Result in Different Output
Convert an Iso Date to Seconds Since Epoch in Linux Bash
How to Run Script Commands from Variables
How to Pass Command Line Parameters from a File
Shell Prompt That Is Based on Location in Filesystem
Assigning Dynamic Bash Variable Names Using a for Loop Seq
What's the Difference Between ./Script.Sh and Bash Script.Sh
How to Set Process Group of a Shell Script
What Would It Take to Make Windows a Posix Compliant Operating System Out of The Box
Use of Read-Only Variables in Shell Scripts
How to Gently Kill Firefox Process on Linux/Os X
How to Set My Application's Desktop Icon for Linux: Kde, Gnome etc