[miniconda3] support bionic/alternative/static libc #13443
Open
Description
Checklist
- I added a descriptive title.
- I searched through existing issues and couldn't find a solution or duplicate issue.
- I searched on the web (e.g. Google) and didn't find any helpful information.
- I searched the Anaconda documentation and didn't find any helpful information.
Impacted product
- A conda package (built by Anaconda)
- Anaconda Distribution (formerly Anaconda Individual Edition)
- Miniconda
- Anaconda.org
What happened?
I'm trying to install miniconda3 from Termux, which fails with
~/miniconda3 $ bash ./Miniconda3-latest-Linux-aarch64.sh -b -u -p ~/miniconda3
PREFIX=/data/data/com.termux/files/home/miniconda3
Unpacking payload ...
./Miniconda3-latest-Linux-aarch64.sh: line 472: /data/data/com.termux/files/home/miniconda3/_conda: cannot execute: required file not found
The cause of this is that the _conda
binary dynamically links glibc libraries (libdl.so, libc.so ...) which are not available on Android (using bionic libc).
This probably doesn't only affect Android but also server distributions like Alpine.
Expected behavior or outcome
One of these options:
- provide a miniconda3 installer for alternative libc implementations like musl or bionic
- in the installer, consider which libc is available on the user's system
- optionally provide an installer with statically linked glibc (or even musl)
- provide a source distribution for users/package maintainers to compile manually
Conda info
No response
Conda config
No response
Conda list
No response
Additional information
No response