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
Docker and Mysql: libz.so.1: cannot open shared object file: Permission denied
So I solved the issue by using the devicemapper storage backend, as suggested by @jpetazzo.
Steps I carried out:
- Stopped the
docker
deamon - Started the
docker
deamon with commanddocker -d -s="devicemapper"
- Ran the
docker run
on the Dockerfile command again. And it worked without any problems.
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.
Related Topics
Android Beginner Difference Between Padding and Margin
How to Get Each Device's Ip Address in Wi-Fi Direct Scenario
Android Install_Failed_Uid_Changed
Android Studio How to Run Gradle Sync Manually
Uncaught Exception in Firebase Runloop (3.0.0)
Android Convert Date and Time to Milliseconds
How to Use Fragments in Android
Android Debug Monitor Hierarchy View Not Showing
How to Change Screen Orientation in the Android Emulator
Start Activity Using Custom Action
Android Exporting to CSV and Sending as Email Attachment
The Android Emulator Is Out of View, How to Move It
Why Is the Android Test Runner Reporting "Empty Test Suite"
Get the Last Picture Taken by User
Android - Gettargetfragment and Settargetfragment - What Are They Used For