Syndelis / ode-designer-rs

Software para a criação, edição e simulação de EDOs. Disponível em Inglês e Português
Other
5 stars 1 forks source link

AppImage requires GLIBC >= 2.32 #30

Open khinsen opened 2 months ago

khinsen commented 2 months ago

The AppImage from release v0.4.0 fails on my computer (Ubuntu 20.04 with all updates installed) because it has GLIBC 2.31. The error message is:

ode-designer-rs: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by ode-designer-rs)
ode-designer-rs: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by ode-designer-rs)
ode-designer-rs: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by ode-designer-rs)
ode-designer-rs: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /tmp/.mount_ode-deqGH49h/lib/x86_64-linux-gnu/libfreetype.so.6)
ode-designer-rs: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /tmp/.mount_ode-deqGH49h/lib/x86_64-linux-gnu/libfontconfig.so.1)
ode-designer-rs: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.35' not found (required by /tmp/.mount_ode-deqGH49h/lib/x86_64-linux-gnu/libgcc_s.so.1)
ode-designer-rs: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_ode-deqGH49h/lib/x86_64-linux-gnu/libgcc_s.so.1)

It is of course reasonable to set some minimum requirements for Linux, but they should be documented. For the specific case of GLIBC, it would also help to tell people how to check their GLIBC version (I think ldd --version is the quickest way). Unfortunately, updating GLIBC is in practice impossible, you have to update the whole distribution, so people like me with older GLIBC versions have no solution, but at least they won't get frustrated trying to run this AppImage.

Syndelis commented 1 day ago

Hi there, thanks for the report.

It seems the AppImage is being built with a version of Debian just new enough that it's newer than your version of Ubuntu, but it really doesn't need to be, so I'll be updating the Dockerfile to account for the oldest Ubuntu version I can find compatible.

It's worth mentioning that we've transitioned the repository to the University's organization here: https://github.com/ufsj-dcomp/ode-designer-rs, and that's where this update will be released. I invite you to re-open this issue in that repository if you want, but the fix will be deployed regardless :)

Thanks again!