Skip to content

[miniconda3] support bionic/alternative/static libc #13443

Open
@cbix

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:

  1. provide a miniconda3 installer for alternative libc implementations like musl or bionic
  2. in the installer, consider which libc is available on the user's system
  3. optionally provide an installer with statically linked glibc (or even musl)
  4. 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

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions