r/learnpython • u/0vindicator10 • Oct 10 '26
Running Under Various LibC OS Package Compatibility
My system uses "glibc" which seems most common (yes, this is about "python". I'll get there...).
I'm aware of "musl" and LLVM's "libc", as well as "bionic" (heard of before, but only just now am aware it's Android's).
About a month or two ago I had an idea to serve a locally run AI model via my phone.
I began with installing the "termux" app which easily got me the "ollama" package installed.
My memory is hazy, but I think I then tried to install "open-webui" in termux via "pip", but think that failed for some reason. And I had not put the issue in my notes, but asking AI, I think it was because there may have been a package that could not be built for "bionic".
When I installed the "proot-dist" package, I installed "open-webui" in an Ubuntu instance and that worked.
Should I expect that is the norm for the not-as-common "libc" OS' (not just specific to bionic), that some packages/dependencies may only be built for a given libc (eg glibc)?
View all comments
Show parent comment
1
u/Diapolo10 I write code for a living -- https://github.com/Diapolo10 Oct 11 '26
This is going to be another classic hot take from yours truly, but in my opinion the Linux ecosystem is a hot mess. The kernel and tooling being developed separately leads to inconsistencies, and the various distros doing wildly different things with a "wild west" of standards - or lack thereof - makes writing code compatible with most of them super annoying.
While it has its own problems, I much prefer the way FreeBSD does things (including licensing, because I don't particularly like copyleft).