alvr-org / ALVR

Stream VR games from your PC to your headset via Wi-Fi
MIT License
5.52k stars 488 forks source link

AppImage glibc version problems on Ubuntu & PopOS 20.04 #1517

Closed josephrocca closed 1 year ago

josephrocca commented 1 year ago

Description

Here's what I get when I download the AppImage file for ALVR v20.0.0-dev07+nightly.2023.03.15:

$ ./ALVR-x86_64.AppImage
./ALVR-x86_64.AppImage: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.35' not found (required by ./ALVR-x86_64.AppImage)
./ALVR-x86_64.AppImage: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by ./ALVR-x86_64.AppImage)
./ALVR-x86_64.AppImage: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by ./ALVR-x86_64.AppImage)
./ALVR-x86_64.AppImage: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by ./ALVR-x86_64.AppImage)
./ALVR-x86_64.AppImage: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /tmp/.mount_ALVR-x4vjZyg/usr/bin/../lib/libcrypto.so.3)
./ALVR-x86_64.AppImage: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_ALVR-x4vjZyg/usr/bin/../lib/libcrypto.so.3)
$ ldd --version
ldd (Ubuntu GLIBC 2.31-0ubuntu9.9) 2.31

IIUC, it's not really possible for me to "manually" update my GLIBC version because a bunch of system stuff depends on it, and would break?

Recent GLIBC version history:

2023-02-01 | GLIBC 2.37
2022-08-01 | GLIBC 2.36
2022-02-03 | GLIBC 2.35
2021-08-02 | GLIBC 2.34
2021-02-01 | GLIBC 2.33
2020-08-05 | GLIBC 2.32

Related: https://github.com/alvr-org/ALVR/issues/669#issuecomment-938499907

Environment

Installation

ALVR Version: ALVR v20.0.0-dev07+nightly.2023.03.15

Install Type: ALVR-x86_64.AppImage

OS Name and Version: Pop!_OS 20.04 LTS

Roadhog360 commented 1 year ago

Getting the same issue on Ubuntu 20.04. https://stackoverflow.com/questions/72513993/how-to-install-glibc-2-29-or-higher-in-ubuntu-18-04 I followed Alex's answer to install a newer version of GLIBC but the answer lacks instructions on how to actually use the new GLIBC version with an application.

zmerp commented 1 year ago

This should be solved in tonight's nightly.

Roadhog360 commented 1 year ago

I tried updating my system to 22.04 only to find the Ubuntu updater is temper-mental and does not let you update if you haven't updated... (???)

josephrocca commented 1 year ago

Hi @zarik5, I've just tried ALVR-x86_64.AppImage from 2023.03.19 on an up-to-date version of Pop!_OS 20.04 LTS (which has GLIBC version 2.31) and I got the same error as I pasted above.

zmerp commented 1 year ago

Yeah, i wasn't able to solve the issue. I'm not really sure what to do.

Roadhog360 commented 1 year ago

Have you tried building on Ubuntu 20.04?

zmerp commented 1 year ago

@Roadhog360 Yes. I already told you on Discord that I tried and there were issues with Vulkan. I'm not competent enough to fix this.

Roadhog360 commented 1 year ago

Ah, right. Thank you for at least giving it your best shot.

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.