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

Problems running on ubuntu focal: 'GLIBC_2.35' not found #209

Open
rschwiebert opened this issue Sep 26, 2024 · 2 comments
Open

Problems running on ubuntu focal: 'GLIBC_2.35' not found #209

rschwiebert opened this issue Sep 26, 2024 · 2 comments
Labels
bug Something isn't working build An issue/PR related to build or CI

Comments

@rschwiebert
Copy link

Hello. Is it expected that ubuntu Focal is not supported?

I'm seeing this

Unknown error: /tmp/jni_multik7416118377200340998/libmultik_jni-linuxX64.so: /lib/x86_64-linux-gnu/libmvec.so.1: version `GLIBC_2.35' not found (required by /tmp/jni_multik7416118377200340998/libmultik_jni-linuxX64.so)
Unknown error: /tmp/jni_multik6981805190945586911/libmultik_jni-linuxX64.so: /lib/x86_64-linux-gnu/libmvec.so.1: version `GLIBC_2.35' not found (required by /tmp/jni_multik6981805190945586911/libmultik_jni-linuxX64.so)

The latest version of glibc available in the usual focal repos is 2.31

This is happening on an ubuntu focal docker image. The dependencies I've specified are:

implementation("org.jetbrains.kotlinx:multik-core:0.2.3")
implementation("org.jetbrains.kotlinx:multik-default:0.2.3")

It was built using

image: gradle:7-jdk17-focal

OS info:
NAME="Ubuntu"
VERSION="20.04.6 LTS (Focal Fossa)"

and the final stage is this image

image: eclipse-temurin:17.0.10_7-jre-focal

OS info:
NAME="Ubuntu"
VERSION="20.04.6 LTS (Focal Fossa)"
@devcrocod
Copy link
Collaborator

Hi, thank you for the report.
This is a known issue that (#107, #98), unfortunately, has not been fixed yet.
Multik is tightly bound to a specific version of glibc during the build process, so this error occurs when running on a Linux system with a different version of glibc.

You can use the dependency:implementation("org.jetbrains.kotlinx:multik-kotlin:0.2.3") to work on Linux.

@devcrocod devcrocod added bug Something isn't working build An issue/PR related to build or CI labels Sep 27, 2024
@rschwiebert
Copy link
Author

@devcrocod OK! Thank you for your guidance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working build An issue/PR related to build or CI
Projects
None yet
Development

No branches or pull requests

2 participants