Skip to content

[FEAT] Migrating to a distro with glibc support #35

Closed

Description

@IrosTheBeggar

Is this a new feature request?

  • I have searched the existing issues

Wanted change

I just added a new feature that allows p2p music recommendations. Unfortunately, it doesn't work with mucl and requires glibc. How much work it be to port this to a different image with glibc support?

Reason for change

See above

Proposed code change

No response

Activity

  1. thelamer commented on Jul 7, 2026

    @thelamer
    Member

    What is the dep? We might be able to build it if it is not proprietary.

  2. IrosTheBeggar commented on Jul 7, 2026

    @IrosTheBeggar
    ContributorAuthor

    The dependency is onnxruntime:

    https://github.com/microsoft/onnxruntime

  3. thelamer commented on Jul 7, 2026

    @thelamer
    Member

    Alpine builds this https://pkgs.alpinelinux.org/package/v3.24/community/x86_64/onnxruntime, are you importing it a way where this binary distribution would not work ?

  4. IrosTheBeggar commented on Jul 7, 2026

    @IrosTheBeggar
    ContributorAuthor

    This is useful, I wasn't aware of it. It will require some changes to get it to fully work with mStream. These are:

    1. Bump alpine to v3.24
    2. Install three packages: onnxruntime, gcompat, and libstdc++
    3. Make a symling after install: ln -sf /usr/lib/libonnxruntime.so.1 \ /app/mstream/node_modules/onnxruntime-node/bin/napi-v6/linux/x64/libonnxruntime.so.1
  5. IrosTheBeggar commented on Jul 8, 2026

    @IrosTheBeggar
    ContributorAuthor

    I made a PR with these fixes. I used AI to get this done, if that's an issue I can close it and write it from scratch

  6. moved this from Issues to Done in Issue & PR Trackeron Jul 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions