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

How to use on Debian 12? #1869

Open
GitStorageOne opened this issue Mar 19, 2024 · 17 comments
Open

How to use on Debian 12? #1869

GitStorageOne opened this issue Mar 19, 2024 · 17 comments

Comments

@GitStorageOne
Copy link

GitStorageOne commented Mar 19, 2024

Hello!

When I execute pre-compiled appimage v1.1.1, I get error:

./pgmodeler-1.1.1-linux64.appimage: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.32' not found (required by ./pgmodeler-1.1.1-linux64.appimage)
./pgmodeler-1.1.1-linux64.appimage: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.32' not found (required by /tmp/.mount_pgmode9ffzPY/lib/libgui.so.1)
./pgmodeler-1.1.1-linux64.appimage: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.32' not found (required by /tmp/.mount_pgmode9ffzPY/lib/libcanvas.so.1)
./pgmodeler-1.1.1-linux64.appimage: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.32' not found (required by /tmp/.mount_pgmode9ffzPY/lib/libconnector.so.1)
./pgmodeler-1.1.1-linux64.appimage: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.32' not found (required by /tmp/.mount_pgmode9ffzPY/lib/libcore.so.1)
./pgmodeler-1.1.1-linux64.appimage: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.32' not found (required by /tmp/.mount_pgmode9ffzPY/lib/libparsers.so.1)
./pgmodeler-1.1.1-linux64.appimage: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.32' not found (required by /tmp/.mount_pgmode9ffzPY/lib/libcli.so.1)

So, not sure what to do..
Is it a bug or Debian 12 is not supported?


Debian 12 with KDE Plasma

@rkhaotix
Copy link
Member

Hi

It seems a Glibc version incompatibility as hinted by the error message. pgModeler libs require 3.4.32, which one is installed in your system?

@GitStorageOne
Copy link
Author

libc6-dev/stable,stable-security,now 2.36-9+deb12u4 amd64 [installed,automatic]
libc6/stable,stable-security,now 2.36-9+deb12u4 amd64 [installed]

I guess 2.36?

@GitStorageOne
Copy link
Author

I remember having a similar problem with my own software when I compiled it using the latest OS.
Many users reported something similar, so I used a separate virtual machine with an old OS to compile.
This library is backwards compatible, so after compiling on an older OS my application worked everywhere.

@rkhaotix
Copy link
Member

AppImage is designed to be backward compatible with older Glibc version. The problem is with pgModeler build itself. I needed to get rid of that backward compatibility so I could use newer Qt versions. Unfortunately, for the problem you're facing, the solution is to use a newer OS (I don't know how old is Debian 12) but to give you an idea, pgModeler is built on a opensuse 15.5.

@GitStorageOne
Copy link
Author

I see,
Debian 12 was released June 10th, 2023

@GitStorageOne
Copy link
Author

GitStorageOne commented Mar 19, 2024

I will test on the most popular and latest distro - Ubuntu 22.04 LTS.

@GitStorageOne
Copy link
Author

GitStorageOne commented Mar 19, 2024

It doesn't work either.
It seems, pre-compiled appimage has very limited OS support, which also is not listed anywhere.

@GitStorageOne
Copy link
Author

GitStorageOne commented Mar 19, 2024

As far as I understand, targeting to GLIBC 3.4.30 would be OK for the most distros.

@rkhaotix
Copy link
Member

Yeah, I know. I still consider pgModeler AppImages experimental. For the next release I will try to build them on a distro a bit more older than the one I use for development.

@GitStorageOne
Copy link
Author

GitStorageOne commented Mar 19, 2024

Yeah, I know. I still consider pgModeler AppImages experimental.

I'm getting the same error with .run bundle, so it's more general issue.

For the next release I will try to build them on a distro a bit more older than the one I use for development.

Latest Ubuntu LTS could be safe choice for the build server.

@rkhaotix
Copy link
Member

Thanks for the suggestion. I'll build a snapshot later today and let you know. ;)

@jokay
Copy link

jokay commented Apr 23, 2024

Does not work on Debian 12 (stable) with XFCE for AppImage version 1.1.2 (2024-04-08) either.

libc6/stable,stable-security,now 2.36-9+deb12u4 amd64 [installed]
libc6/now 2.28-10 i386 [residual-config]
./pgModeler-1.1.2.AppImage: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.32' not found (required by ./pgModeler-1.1.2.AppImage)
./pgModeler-1.1.2.AppImage: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.32' not found (required by /tmp/.mount_pgModetkYfBO/lib/libgui.so.1)
./pgModeler-1.1.2.AppImage: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.32' not found (required by /tmp/.mount_pgModetkYfBO/lib/libcanvas.so.1)
./pgModeler-1.1.2.AppImage: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.32' not found (required by /tmp/.mount_pgModetkYfBO/lib/libconnector.so.1)
./pgModeler-1.1.2.AppImage: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.32' not found (required by /tmp/.mount_pgModetkYfBO/lib/libcore.so.1)
./pgModeler-1.1.2.AppImage: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.32' not found (required by /tmp/.mount_pgModetkYfBO/lib/libparsers.so.1)
./pgModeler-1.1.2.AppImage: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.32' not found (required by /tmp/.mount_pgModetkYfBO/lib/libcli.so.1)

@jokay
Copy link

jokay commented May 14, 2024

Does not work on Debian 12 (stable) with XFCE for AppImage version 1.1.3 (2024-05-13) either.

libc6/stable,stable-security,now 2.36-9+deb12u4 amd64 [installed]
libc6/now 2.28-10 i386 [residual-config]
./pgModeler-1.1.3.AppImage: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.32' not found (required by ./pgModeler-1.1.3.AppImage)
./pgModeler-1.1.3.AppImage: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.32' not found (required by /tmp/.mount_pgModeKOIUC4/lib/libgui.so.1)
./pgModeler-1.1.3.AppImage: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.32' not found (required by /tmp/.mount_pgModeKOIUC4/lib/libcanvas.so.1)
./pgModeler-1.1.3.AppImage: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.32' not found (required by /tmp/.mount_pgModeKOIUC4/lib/libconnector.so.1)
./pgModeler-1.1.3.AppImage: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.32' not found (required by /tmp/.mount_pgModeKOIUC4/lib/libcore.so.1)
./pgModeler-1.1.3.AppImage: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.32' not found (required by /tmp/.mount_pgModeKOIUC4/lib/libparsers.so.1)
./pgModeler-1.1.3.AppImage: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.32' not found (required by /tmp/.mount_pgModeKOIUC4/lib/libcli.so.1)

@rkhaotix
Copy link
Member

Unfortunately, I'm about to ditch (or at least suspend) the use of appimages for pgModeler. It causes more trouble than it is effectively portable. Also, the author seems to have abandoned the project in favor of a new implementation of AppImage in Go language.

I'm running a patched older version of linuxdeployqt so it can be compiled in Qt 6 and deploy Qt 6 libraries. The original linuxdeployqt doesn't support Qt 6 and it seems that the author is unwilling to add that support anytime soon.

Anyway, I'll see if the new implementation of AppImage can help me somehow. That's it for now.

@jokay
Copy link

jokay commented May 14, 2024

AppImage in Go language seems promising 👍🏼

@rkhaotix
Copy link
Member

@jokay I made some changes and build new AppImages on a Kubuntu 20.06 with PostgreSQL 12. Could you please test them on your system?

@jokay
Copy link

jokay commented May 15, 2024

@rkhaotix yes this looks better now.

image

Thank you very much 👍🏼

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants