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 version #463

Closed
1 task done
mmjvox opened this issue Apr 7, 2023 · 10 comments
Closed
1 task done

glibc version #463

mmjvox opened this issue Apr 7, 2023 · 10 comments
Labels
bug Something isn't working wontfix / Alternatively patched This will not be worked on or it's already patched using an alternative method

Comments

@mmjvox
Copy link

mmjvox commented Apr 7, 2023

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Required version of glibc in prebuilt packages is very high and it can`t run on many distros even they are updated.

I tryied all your linux packages, rpm deb and appimage.

when i run deb or rpm:
spotube: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by spotube)
when i run appimage:

./spotube: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by ./spotube)
./spotube: /lib64/libc.so.6: version `GLIBC_2.33' not found (required by usr/lib/libstdc++.so.6)
./spotube: /lib64/libc.so.6: version `GLIBC_2.32' not found (required by usr/lib/libstdc++.so.6)
./spotube: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by usr/lib/libstdc++.so.6)
./spotube: /lib64/libc.so.6: version `GLIBC_2.35' not found (required by usr/lib/libgcc_s.so.1)
./spotube: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by usr/lib/libgcc_s.so.1)
./spotube: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by usr/lib/libgstreamer-1.0.so.0)
./spotube: /lib64/libc.so.6: version `GLIBC_2.33' not found (required by usr/lib/libgstreamer-1.0.so.0)
./spotube: /lib64/libc.so.6: version `GLIBC_2.33' not found (required by usr/lib/libunwind.so.8)
./spotube: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by usr/lib/libunwind.so.8)
./spotube: /lib64/libc.so.6: version `GLIBC_2.33' not found (required by usr/lib/libdw.so.1)
./spotube: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by usr/lib/libdw.so.1)
./spotube: /lib64/libc.so.6: version `GLIBC_2.33' not found (required by usr/lib/libelf.so.1)

In such apps, using the highest version of glibc is useless.
The problem occurred because the compiler provided by your operating system selected the highest version of the glibc.
There are many ways to fix this problem, but the easiest way is to build on older operating systems

Expected Behavior

I`m using spotube for first time.

Steps to reproduce

At the beginning

Operating System

linux

Spotube version

2.7.0

Installation source

GitHub Releases (Binary)

Additional information

In such apps, using the highest version of glibc is useless.
The problem occurred because the compiler provided by your operating system selected the highest version of the glibc.
There are many ways to fix this problem, but the easiest way is to build on older operating systems

@mmjvox mmjvox added the bug Something isn't working label Apr 7, 2023
@mmjvox
Copy link
Author

mmjvox commented Apr 7, 2023

I tried to build from source:

ERROR: No file or variants found for asset: .env.
ERROR: Target debug_bundle_linux-x64_assets failed: Exception: Failed to bundle asset files.
Building Linux application...                                           
Exception: Build process failed

@mmjvox
Copy link
Author

mmjvox commented Apr 18, 2023

glibc error is exists in 2.7.1

@KRTirtho
Copy link
Owner

KRTirtho commented Jul 3, 2023

This only happens for Ubuntu < 22.04 and Debian < 12 (bookworm)
These versions of OS have older glibc but most distros have moved to newer versions of glibc
To support the newer versions of OS, Spotube will always be built on top of newer glibc versions

So for Ubuntu < 22.04 or Debian < 12 please use Flatpak as it sandboxes apps thus Spotube will get correct glibc version

@KRTirtho KRTirtho moved this to Discussion in Spotube Board Jul 3, 2023
@github-project-automation github-project-automation bot moved this from Discussion to Done in Spotube Board Aug 26, 2023
@KRTirtho KRTirtho added the wontfix / Alternatively patched This will not be worked on or it's already patched using an alternative method label Aug 26, 2023
@KRTirtho
Copy link
Owner

Closing as only ubuntu >= 22.04 and Debian >= 12 is supported for the .deb package

@KRTirtho KRTirtho moved this from Done to Won't be possible in Spotube Board Aug 28, 2023
@mskalski
Copy link

mskalski commented Sep 4, 2023

So for Ubuntu < 22.04 or Debian < 12 please use Flatpak as it sandboxes apps thus Spotube will get correct glibc version

Problem does exist also for AppImage version, tried to run on Ubuntu 18.04 and Ubuntu 20.04 (the latter is still supported by Canonical) and problem is the same:

$ ./Spotube-linux_3.1.1_x86_64.AppImage
./spotube: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by ./spotube)
./spotube: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /tmp/.mount_SpotubpR0Mln/lib/libsystem_tray_plugin.so)
./spotube: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_SpotubpR0Mln/lib/libsystem_tray_plugin.so)
./spotube: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by usr/lib/libstdc++.so.6)
./spotube: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by usr/lib/libstdc++.so.6)
./spotube: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by usr/lib/libstdc++.so.6)
./spotube: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.35' not found (required by usr/lib/libgcc_s.so.1)
./spotube: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by usr/lib/libgcc_s.so.1)
./spotube: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by usr/lib/libresolv.so.2)

Something is wrong with this AppImage image.

Definitely problem could be easily solved by building on older distribution, not the latest one.

And for me as a linux user its more comfortable to download deb version which is ten times smaller and has better integration with my system.

@KRTirtho
Copy link
Owner

KRTirtho commented Sep 5, 2023

Building on older distro breaks appindicator & libsecret that's why newer distro

@AshutoshSajan
Copy link

getting the same error

@pepa65
Copy link

pepa65 commented Jan 22, 2024

Sad that slightly older distros are no longer supported. I started with the AppImage, but it was built on a too new system, so GLIB_C/CLIBCXX_??? not found. Then I thought, I'll try the deb, which also doesn't work. And the binary distribution the same of course...

I think if you can build the AppImage on an older system, many more people would still be able to enjoy Spotube.

@KRTirtho
Copy link
Owner

I think Spotube eradicates this issue about compatibility with older systems by providing a Flatpak. Also, apps are built through a CI/CD pipeline, and they can only support a handful of versions of older OSs.

@evdcush
Copy link

evdcush commented Feb 3, 2024

Is the Spotube Flatpak supposed to work?

I have the latest 3.4.1.

$ flatpak run com.github.KRTirtho.Spotube 

(process:2): GLib-GObject-CRITICAL **: 17:00:07.422: g_object_new_is_valid_property: object class 'MyApplication' has no property named 'com.github.KRTirtho.Spotube'
Gtk-Message: 17:00:07.445: Failed to load module "canberra-gtk-module"
Gtk-Message: 17:00:07.446: Failed to load module "canberra-gtk-module"

(spotube:2): Gdk-CRITICAL **: 17:00:07.474: gdk_window_get_state: assertion 'GDK_IS_WINDOW (window)' failed

** (spotube:2): WARNING **: 17:00:07.479: Failed to start Flutter renderer: No available configurations for the given pixel format
package:media_kit_libs_linux registered.

** (spotube:2): WARNING **: 17:00:07.479: gtk.dart: failed to call method: No engine to send to

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working wontfix / Alternatively patched This will not be worked on or it's already patched using an alternative method
Projects
Status: Won't be possible
Development

No branches or pull requests

6 participants