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

GLIBC issue on ubuntu 20.04.6 #523

Closed
pythcoiner opened this issue May 14, 2023 · 7 comments
Closed

GLIBC issue on ubuntu 20.04.6 #523

pythcoiner opened this issue May 14, 2023 · 7 comments
Labels
Build system / Distribution Duplicate This issue or pull request already exists

Comments

@pythcoiner
Copy link
Collaborator

Some user reporting on the telegram channel having issue for running liana on ubuntu 20.04.6, so i get a try on a fresh install VM:
the official build return this glibc error

./liana-gui: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by ./liana-gui)
./liana-gui: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by ./liana-gui)

then i compile from source, everything goes well until i quit liana-gui and try to restart it, liana crash with this output:

pythcoiner@pythcoiner:~/.liana$ cat crash.log 
pythcoiner@pythcoiner:~/liana/gui/target/release$ ./liana-gui 
  2023-05-14T03:42:29.156239Z  INFO winit::platform_impl::platform::x11::window:147: Guessed window scale factor: 1

2023-05-14T03:42:29.156275Z  INFO winit::platform_impl::platform::x11::window: Guessed window scale factor: 1    
[xcb] Unknown sequence number while processing queue
[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
[xcb] Aborting, sorry about that.
liana-gui: ../../src/xcb_io.c:260: poll_for_event: Assertion `!xcb_xlib_threads_sequence_lost' failed.
Aborted (core dumped)

the only way i find to make liana run next to that was reboot + recompile then liana can start only once then crash

@pythcoiner
Copy link
Collaborator Author

should we specify in TRY.md that official binary are likely to not run with ubuntu < 22.04 or glibc < 2.34?

@pythcoiner
Copy link
Collaborator Author

seems that this issue can be linked with #414

@darosior
Copy link
Member

Added more details to #414.

should we specify in TRY.md

Hmm we could have a note that binaries requires GLIBC >= 2.33 and that it rules out Ubuntu 20.04 (and lower) and Debian 10 (and lower). Although i wonder if you could install a more recent GLIBC on Ubuntu 20.

@darosior darosior added Duplicate This issue or pull request already exists Build system / Distribution labels May 14, 2023
@pythcoiner
Copy link
Collaborator Author

Added more details to #414.

just had a try on debian 11.7 still GLIBC2.31 so debian might to be at least DEBIAN 12

darosior added a commit that referenced this issue May 30, 2023
0d3e9e1 add glibc version (pythcoiner)

Pull request description:

  follow #523

ACKs for top commit:
  darosior:
    ACK 0d3e9e1

Tree-SHA512: 2348297de50752c7af35470644597a618defdfdcccf20b773f7034a6aa441b10c77d00405f836becdbeebf033fb1f8f932b7af6e4db06ca7705671b38a3906c1
@pythcoiner
Copy link
Collaborator Author

note: i just try to test pr630 on a Debian12 fresh install VM and it seems now liana-gui needs GLIBC2.38 (Debian12 is under 2.36)

@darosior
Copy link
Member

darosior commented Aug 28, 2023 via email

@darosior
Copy link
Member

Let's centralize glibc compatibility issues in #414.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Build system / Distribution Duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants