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

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

Open
5 of 8 tasks
cbix opened this issue Dec 15, 2024 · 0 comments
Open
5 of 8 tasks

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

cbix opened this issue Dec 15, 2024 · 0 comments
Labels

Comments

@cbix
Copy link

cbix commented Dec 15, 2024

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

@cbix cbix added the type-bug label Dec 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant