HemulGM / ChatGPT

ChatGPT Native Application (Windows, Mac, Android, iOS, and Linux)
https://hemulgm.github.io/ChatGPT/
MIT License
417 stars 51 forks source link

Can not execute due to GLIBC #46

Closed Infraviored closed 1 year ago

Infraviored commented 1 year ago

I tried to install the .deb, but run into several issues, namely:

sudo dpkg -i /home/flo/Downloads/ChatGPT_1.1.0_linux_x86_64.deb
Selecting previously unselected package chat-gpt.
(Reading database ... 308058 files and directories currently installed.)
Preparing to unpack .../ChatGPT_1.1.0_linux_x86_64.deb ...
Unpacking chat-gpt (1.1.0) ...
dpkg: dependency problems prevent configuration of chat-gpt:
 chat-gpt depends on libayatana-appindicator3-1; however:
(Reading database ... 308065 files and directories currently installed.)
Preparing to unpack .../ChatGPT_1.1.0_linux_x86_64.deb ...
Unpacking chat-gpt (1.1.0) over (1.1.0) ...
dpkg: dependency problems prevent configuration of chat-gpt:
 chat-gpt depends on libayatana-appindicator3-1; however:
  Package libayatana-appindicator3-1 is not installed.

dpkg: error processing package chat-gpt (--install):
 dependency problems - leaving unconfigured
Processing triggers for gnome-menus (3.36.0-1ubuntu1) ...
Processing triggers for desktop-file-utils (0.24-1ubuntu3) ...
Processing triggers for mime-support (3.64ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Errors were encountered while processing:
 chat-gpt

so is installed libayatana-appindicator3-1 and used sudo apt --fix-broken install

now I get

sudo dpkg -i /home/flo/Downloads/ChatGPT_1.1.0_linux_x86_64.deb
(Reading database ... 308075 files and directories currently installed.)
Preparing to unpack .../ChatGPT_1.1.0_linux_x86_64.deb ...
Unpacking chat-gpt (1.1.0) over (1.1.0) ...
Setting up chat-gpt (1.1.0) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu1) ...
Processing triggers for desktop-file-utils (0.24-1ubuntu3) ...
Processing triggers for mime-support (3.64ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...

and when executing:

chat-gpt
chat-gpt: error while loading shared libraries: libssl.so.3: cannot open shared object file: No such file or directory

Trying the AppImage, I get

/home/flo/Downloads/chat-gpt_1.1.0_amd64.AppImage
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by chat-gpt)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by chat-gpt)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by chat-gpt)
chat-gpt: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.35' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libwebkit2gtk-4.0.so.37)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libwebkit2gtk-4.0.so.37)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libwebkit2gtk-4.0.so.37)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libwebkit2gtk-4.0.so.37)
chat-gpt: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libwebkit2gtk-4.0.so.37)
chat-gpt: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libwebkit2gtk-4.0.so.37)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libgtk-3.so.0)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libgdk-3.so.0)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libcairo.so.2)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libgio-2.0.so.0)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libgio-2.0.so.0)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libjavascriptcoregtk-4.0.so.18)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libjavascriptcoregtk-4.0.so.18)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libjavascriptcoregtk-4.0.so.18)
chat-gpt: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libjavascriptcoregtk-4.0.so.18)
chat-gpt: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libjavascriptcoregtk-4.0.so.18)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libglib-2.0.so.0)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libglib-2.0.so.0)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libglib-2.0.so.0)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libcrypto.so.3)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libcrypto.so.3)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libwpe-1.0.so.1)
chat-gpt: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libWPEBackend-fdo-1.0.so.1)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libepoxy.so.0)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libsystemd.so.0)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libsystemd.so.0)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libsystemd.so.0)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libicuuc.so.70)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libicuuc.so.70)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libxml2.so.2)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libxml2.so.2)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libsqlite3.so.0)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libsqlite3.so.0)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libxslt.so.1)
chat-gpt: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libwoff2dec.so.1.0.2)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libgcrypt.so.20)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libgstreamer-1.0.so.0)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libgstreamer-1.0.so.0)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libgstpbutils-1.0.so.0)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libopenjp2.so.7)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libwebp.so.7)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libenchant-2.so.2)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libgmodule-2.0.so.0)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libwayland-server.so.0)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libwayland-server.so.0)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libxkbcommon.so.0)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libpsl.so.5)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libgssapi_krb5.so.2)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libmount.so.1)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libmount.so.1)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libselinux.so.1)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libselinux.so.1)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/liblzma.so.5)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/liblzma.so.5)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libcap.so.2)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libunwind.so.8)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libunwind.so.8)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libdw.so.1)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libdw.so.1)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libgudev-1.0.so.0)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libevdev.so.2)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libdbus-1.so.3)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libdbus-1.so.3)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libXau.so.6)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libunistring.so.2)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libunistring.so.2)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libkrb5.so.3)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libkrb5.so.3)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libk5crypto.so.3)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libkrb5support.so.0)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libkrb5support.so.0)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libblkid.so.1)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libelf.so.1)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libudev.so.1)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libudev.so.1)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libbsd.so.0)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libmd.so.0)

my Ubuntu version is

Description: Ubuntu 20.04.6 LTS Release: 20.04 Codename: focal

ldd (Ubuntu GLIBC 2.31-0ubuntu9.9) 2.31

HemulGM commented 1 year ago

Try this sudo apt install joe wget p7zip-full curl openssh-server build-essential zlib1g-dev libcurl4-gnutls-dev libncurses5

alanpeng commented 1 year ago

The GLIBC version on Ubuntu 20.x is slightly older. For Delphi applications, Ubuntu 22.x is recommended.