webui: Ubuntu 20.04 is not supported?

First of all, thanks for the great work. Webui is an innovative project that takes a fresh approach to creating UIs with web technologies. Now, the issue that I have is: Ubuntu 20.04 has glibc 2.31.

When I try to use webui I get the following error:

Error: Could not open library: Could not open library: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /home/zizaco/Projects/deno/deno-webui/src/webui-linux-gcc-x64/webui-2.so)

From v2.4.2 - v2.0.2, all versions required glibc 2.34 or 2.33. I guess Ubuntu 20.04 is not supported then? Unfortunately, that contradicts the promise of being “Portable” of Webui.

Is there any chance of a release that works with glibc 2.31?

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 18 (16 by maintainers)

Most upvoted comments

To fix glibc issue, you can re-compile webui. But I guess to officially support the old glibc version, we should modify linux.yml from ubuntu-latest to ubuntu-18.04, this way we will be sure that webui will work with old glibc version and also the latest one.

Long term fix

  1. Creating a new PR where linux.yml change ubuntu-latest to ubuntu-18.04
  2. Wait until next stable release of WebUI comes, so Python-WebUI PyPi will be updated
  3. Upgrade your webui2 local Python package

Quick fix / Workaround

  1. Clone WebUI and run make to build it in your Ubuntu
  2. Clone Python WebUI
  3. Copy your local compiled webui-2.so and webui.py into your Python project
  4. Make your project use the local webui.py instead of the installed PyPi package

PR has been created: https://github.com/webui-dev/webui/pull/357

Oh, sorry, I did not know that your project is targeting Windows and macOS as well. In this case, yes, importing local script only for Linux is the right thing to do. Glad that all works fine 👍