ChatGPT icon indicating copy to clipboard operation
ChatGPT copied to clipboard

[Bug] Missing libssl.so.3 in Debian 11

Open FlorentPoinsaut opened this issue 2 years ago • 19 comments

Version

v.0.11.0

Bug description

When I launch the release v.0.11.0 in cli, this error is return and the program crashes:

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

FYI:

~$ dpkg -l | grep libssl
ii  libssl1.1:amd64                       1.1.1n-0+deb11u4                 amd64        Secure Sockets Layer toolkit - shared libraries

OS

Debian 11

Environment

No response

FlorentPoinsaut avatar Feb 20 '23 09:02 FlorentPoinsaut

do you use the current deb file ?

HumanG33k avatar Feb 20 '23 18:02 HumanG33k

Yes, this one: https://github.com/lencx/ChatGPT/releases/download/v0.11.0/ChatGPT_0.11.0_linux_x86_64.deb

FlorentPoinsaut avatar Feb 21 '23 07:02 FlorentPoinsaut

What if you use .appimage?

lencx avatar Feb 21 '23 08:02 lencx

😅

~$ ./chat-gpt_0.11.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-gdkhKjo/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-gdkhKjo/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-gdkhKjo/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-gdkhKjo/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-gdkhKjo/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-gdkhKjo/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-gdkhKjo/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-gdkhKjo/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-gdkhKjo/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-gdkhKjo/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-gdkhKjo/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-gdkhKjo/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-gdkhKjo/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-gdkhKjo/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-gdkhKjo/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-gdkhKjo/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-gdkhKjo/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-gdkhKjo/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-gdkhKjo/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-gdkhKjo/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-gdkhKjo/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-gdkhKjo/usr/lib/libcrypto.so.3)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /tmp/.mount_chat-gdkhKjo/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-gdkhKjo/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-gdkhKjo/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-gdkhKjo/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-gdkhKjo/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-gdkhKjo/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-gdkhKjo/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-gdkhKjo/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-gdkhKjo/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-gdkhKjo/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-gdkhKjo/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-gdkhKjo/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-gdkhKjo/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-gdkhKjo/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-gdkhKjo/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-gdkhKjo/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-gdkhKjo/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-gdkhKjo/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-gdkhKjo/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-gdkhKjo/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-gdkhKjo/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-gdkhKjo/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-gdkhKjo/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-gdkhKjo/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-gdkhKjo/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-gdkhKjo/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-gdkhKjo/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-gdkhKjo/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-gdkhKjo/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-gdkhKjo/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-gdkhKjo/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-gdkhKjo/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-gdkhKjo/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-gdkhKjo/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-gdkhKjo/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-gdkhKjo/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-gdkhKjo/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-gdkhKjo/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-gdkhKjo/usr/lib/libXau.so.6)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /tmp/.mount_chat-gdkhKjo/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-gdkhKjo/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-gdkhKjo/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-gdkhKjo/usr/lib/libudev.so.1)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /tmp/.mount_chat-gdkhKjo/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-gdkhKjo/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-gdkhKjo/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-gdkhKjo/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-gdkhKjo/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-gdkhKjo/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-gdkhKjo/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-gdkhKjo/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-gdkhKjo/usr/lib/libmd.so.0)

FlorentPoinsaut avatar Feb 21 '23 09:02 FlorentPoinsaut

Can you tell me where you store the configuration of your packages creation? Maybe I can help you to improve the compatibility with Debian.

FlorentPoinsaut avatar Feb 21 '23 09:02 FlorentPoinsaut

Can you tell me where you store the configuration of your packages creation? Maybe I can help you to improve the compatibility with Debian.

We use the GitHub actions: https://github.com/lencx/ChatGPT/blob/main/.github/workflows/release.yml Now we use ubuntu-latest to create our Linux app.Maybe it's wise to add ubuntu-18.04(diffrent libssl version for old Linux,older LIBC version), and use certain file suffixes to distinguish the two versions.Thus the app can be compatible with more older Linux.

yixinBC avatar Feb 21 '23 09:02 yixinBC

We use the GitHub actions: https://github.com/lencx/ChatGPT/blob/main/.github/workflows/release.yml Now we use ubuntu-latest to create our Linux app.Maybe it's wise to add ubuntu-18.04(diffrent libssl version for old Linux,older LIBC version), and use certain file suffixes to distinguish the two versions.Thus the app can be compatible with more older Linux.

Thank you @yixinBC . I did not know Tauri. I think your suggestion is the right one.

FlorentPoinsaut avatar Feb 21 '23 09:02 FlorentPoinsaut

It's also possible to specify strong dependencies in .deb files (like libssl1 for the package for the "older" Linux distributions and libssl3 for the "newest" Linux distribution) as you can read here: https://tauri.app/v1/guides/building/linux/#custom-files to protect against a bad installation.

FlorentPoinsaut avatar Feb 21 '23 09:02 FlorentPoinsaut

same, whether the AppImage or deb package, both didn't work. And my os is Ubuntu 20.04, OpenSSL version is 1.1.1.

greatzh avatar Feb 23 '23 12:02 greatzh

same, whether the AppImage or deb package, both didn't work. And my os is Ubuntu 20.04, OpenSSL version is 1.1.1.

same, but Debian 11 too as original issuer

Tursu311 avatar Feb 23 '23 14:02 Tursu311

Same, Linux Mint 20.3 @ Mate

vrozkovec avatar Feb 23 '23 14:02 vrozkovec

没有解决方案吗?

Kun1605 avatar Feb 24 '23 02:02 Kun1605

You can try to build it yourself. https://github.com/lencx/ChatGPT#how-do-i-build-it

lencx avatar Feb 24 '23 02:02 lencx

Same

mr2anderson avatar Feb 24 '23 16:02 mr2anderson

Same

davidklsn avatar Mar 01 '23 07:03 davidklsn

the same thing happens to me

JuanSystems avatar Mar 02 '23 02:03 JuanSystems

I've had the same issue on my devices. Now i found a working way. This are the operating systems i've used: Zorin OS (Pro), Debian 11 (Bullseye). After some research i found a way to solve it: Upgrade to Debian 12 (Bookworm). But at least i don't know really how to solve it without upgrading your distro.

cloudmaker97 avatar Mar 04 '23 17:03 cloudmaker97

image I compiled deb for Ubuntu 20.04. If you want this package, please contact my email [email protected], 我编译出来了 deb for Ubuntu20.04,想要这个包的,联系我的邮箱 [email protected]

Kun1605 avatar Mar 14 '23 08:03 Kun1605

same, whether the AppImage or deb package, both didn't work. And my os is Ubuntu 20.04, OpenSSL version is 1.1.1.

same, but Debian 11 too as original issuer

Updated to Debian 12, now working

Tursu311 avatar Mar 14 '23 08:03 Tursu311

You can try to build it yourself. https://github.com/lencx/ChatGPT#how-do-i-build-it

this link is outdated, I want to build it myself on ubuntu20, can you add another link?

tianlianghai avatar Apr 27 '23 01:04 tianlianghai

Yo creé este script siguiendo las siguientes páginas y pude solucionar el problema del libssl.so.3 Espero que les sirva. Revisen los pasos uno a uno para entender que es lo que hace primero.

# URLs:
# https://www.openssl.org/source/
# https://howtoforge.es/como-instalar-la-ultima-version-de-openssl-desde-el-codigo-fuente-en-linux/
#-------------------------------------------#

# version actual:
openssl version -a

# Instalar Dependencias:
sudo apt update
sudo apt install build-essential checkinstall zlib1g-dev -y

# Descargar OpenSSL:
cd /usr/local/src/
sudo wget https://www.openssl.org/source/openssl-3.1.0.tar.gz
sudo tar -xf openssl-3.1.0.tar.gz
cd /usr/local/src/openssl-3.1.0

#Compilar:
./config --prefix=/usr/local/ssl --openssldir=/usr/local/ssl shared zlib
sudo make
sudo make test
sudo make install

# Configuracion:
cd
sudo echo /usr/local/ssl/lib > openssl-3.1.0.conf
sudo mv openssl-3.1.0.conf /etc/ld.so.conf.d/
sudo ldconfig -v

cd
sudo mv /usr/bin/c_rehash /usr/bin/c_rehash.BACKUP
sudo mv /usr/bin/openssl /usr/bin/openssl.BACKUP
sudo cp /etc/environment ./environment
sudo chmod 666 environment
sudo echo PATH=\"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/local/ssl/lib64\" >> environment
sudo mv -f environment /etc/environment
source /etc/environment
sudo ldconfig /usr/local/ssl/lib64

carlymx avatar May 22 '23 11:05 carlymx