psmokotnin/osm

Cannot run in Linux

Opened this issue · 2 comments

Hello, in Linux Mint 19.3 Tricia I cannot run your application:

./Open_Sound_Meter-v0.3.1-x86_64.AppImage: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by ./Open_Sound_Meter-v0.3.1-x86_64.AppImage)
./Open_Sound_Meter-v0.3.1-x86_64.AppImage: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /tmp/.mount_Open_S7j6hzR/lib/libpulse.so.0)
./Open_Sound_Meter-v0.3.1-x86_64.AppImage: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /tmp/.mount_Open_S7j6hzR/lib/libpulsecommon-13.99.so)
./Open_Sound_Meter-v0.3.1-x86_64.AppImage: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by /tmp/.mount_Open_S7j6hzR/lib/libsystemd.so.0)
./Open_Sound_Meter-v0.3.1-x86_64.AppImage: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.30' not found (required by /tmp/.mount_Open_S7j6hzR/lib/libsystemd.so.0)
./Open_Sound_Meter-v0.3.1-x86_64.AppImage: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /tmp/.mount_Open_S7j6hzR/lib/libsndfile.so.1)
./Open_Sound_Meter-v0.3.1-x86_64.AppImage: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /tmp/.mount_Open_S7j6hzR/lib/libFLAC.so.8)

Same issue on my computer, I'm also running Mint 19.3 Tricia.

Won't solve your problem, but if you want to know up to which version your libm defines those symbols, you can run

strings /lib/libm.so.6 | grep ^GLIB | sort 

Here is an interesting recipe to figure out if it really needs that recent a libc: https://www.generacodice.com/en/articolo/646393/Linking-against-an-old-version-of-libc-to-provide-greater-application-coverage

And here's what I get:

roman:/local/build/osm # objdump -T /lib/libc.so.6 | grep __libc_single_threaded
00228c30 g    DO .bss	00000001  GLIBC_2.32  __libc_single_threaded

Makes me guess that making this backwards-compatible would be non-trivial. You'd have to dig into the threading functions next... @mjablecnik, maybe trying to build it on Mint 19.3 is an easier option....