-
Notifications
You must be signed in to change notification settings - Fork 6k
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
libssl.so.1.1: cannot open shared object file: No such file or directory #107
Comments
Please take a look at |
@lencx It didn't create chatgpt folder, seems weird. |
I'll try to install a linux environment to verify it, because recently many linux users are feedback can not open. |
Ok, if i get time i will also spin up a Ubuntu 22.10. |
Hi, |
I have found the relevant issues and I will try to solve it #111 (comment) |
Oh. I didn't even get a log file 😅. Are you also on Ubuntu? |
@fbollon I am trying to fix this issue, please install v0.7.4 to verify. |
It didn't fix. Still it didn't create any config file. |
See this for background: in short, in chat-gpt_0.7.3 (sic) I had tried to remove these shortcut and indicator modules and recompile via homebrew. It kinda worked but it had produced the same error as this chat-gpt_0.7.4 version via the packaged deb:
and then:
My box:
Will try to run it in a non-Ubuntu one soon. |
RUST_BACKTRACE=full chat-gpt --help
[2022-12-31][13:24:17][chatgpt::app::setup][INFO] stepup
[2022-12-31][13:24:17][chatgpt::app::setup][INFO] global_shortcut_unregister
thread 'main' has overflowed its stack
fatal runtime error: stack overflow
Aborted I didn't understand this error because the registration shortcut was already skipped when the log printed |
@lencx i tried what @Manamama did ( i am not good in rust so ignore if i did something weird ) mini@mini:~$ which chat-gpt
/usr/bin/chat-gpt
mini@mini:~$ /usr/bin/chat-gpt
/usr/bin/chat-gpt: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory
mini@mini:~$ RUST_BACKTRACE=full chat-gpt --help
chat-gpt: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory Well, ig directly running chat-gpt bin also acts as a log.. |
@AyushSehrawat Are you using the latest code? |
Yes this is version 0.7.4 |
Me no coder (in principle ;), and I have never used or even heard of debugging rust before, but uncle ChatGPT helped, so see below. In short "lib something something" also seems to be the culprit:
so, let us try and learn it:
|
There is a discussion here, hope it will help you tauri-apps/tauri#4470 |
@lencx i looked into that issue and tried The issue seems to lie in openssl version. fosslife/devtools-x#29 talks about it too... The only way to fix it is to release with openssl3.0, or can you tell me the files i need to edit and how to build nd install with openssl3.0 support? |
Good news.
and it finally runs, with UI displayed:
|
@Manamama This is not an error, it is a parsing of the shortcut key, if it is not set, it will fail to parse and record in the log, and then it will not register the shortcut key in the system. The logs now record some key operations and they can help me to analyze the problem. |
I got it: "it's not an error, it's a feature ;)". Just in short, on the same notebook, with the same newest deb:
Not OK:
|
Sorry for writing in separate posts - I have just learnt from ChatGPT itself what "backtrace" does there, so it may help yous with that OS: Ubuntu 20.04.5 LTS x86_64 (not Ubuntu 22) stack overflow bug:
|
I am on Ubuntu 22.10, i tried some things, didn't work. @lencx I tried the appimage version and surprisingly it works well (except weirdly enough it minimises on exit instead of closing and doesn't even close even after i try to quit it ).. I was thinking of integrating it with https://github.com/TheAssassin/AppImageLauncher so i can get it to my application and pin it if needed |
@Manamama can you try to run appimage version ? Download v0.7.4 amd64 appimage here and you can follow this guide https://itsfoss.com/use-appimage-linux/ for any help regarding how to run it :). Also just in case check if it's my system being weird that it minimizes on exit |
Yes, I have run the appimage on Ubuntu 20 (see above: Ubuntu 20 "deb bad" vs Ubuntu 22 "deb ok") and I have integrated it (via another mechanism). I thus confirm it now consistently runs also on my "dirty" Ubuntu 20 via appimage. |
Oh, looks like appimage is the temporary solution for this issue. Btw @Manamama are you also getting that weird issue of not quitting? |
No such issue, and the Appimage works reliably after 24 hrs, even without asking for CAPTCHA challenges. |
Exit minimization was something I did before to deal with the dock icon not being clickable on mac, I will fix it in the next release (on windows and linux). |
I look forward to it :). Because to delete it, i need to delete the appimage only, since nothing else works. Hope you fix it fast. Also @Manamama i guess let the issue be open, since we just got the temporary solution to the problem and not the real solution, which is the issue with libssl and in your case that thread "main" issue. |
Same error message under Ubuntu 22.10 x86_64 But the appimage works |
There seems to be an issue with this openssl library (and crypto) on Ubuntu (I'm running 22.04.1):
One possible solution (according to SO ;-) ) is to recompile openssl. An other one is to use:
and chat-gpt should be working after that.. Hope it'll help. |
Regarding the another solution where you get the openssl1 from the ubunty repository , does it install it alongside the openssl3 on ubuntu or overwrites it with openssl1 ? |
@lencx If possible can you fix the issue with exit button minimising the app, since i am unable to use the desktop chat-gpt because of that |
No it does not overwrite, I have both versions:
|
Oh, thnx for the fast response. It has finally fixed the issue! chat-gpt finally works well. Also, this solution is better then recompiling the openssl, safer and easier imo.. $ wget http://nz2.archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2.16_amd64.deb
$ sudo dpkg -i libssl1.1_1.1.1f-1ubuntu2.16_amd64.deb |
The only elegant way is the manual one: Update 1: It is not replicable. In the same system session, I have opened two chat-gpt windows again, and now they close by the standard GUI way. |
I also confirm that on all my boxes I had this version installed, hence no openssl errors (but then yes, the other memory error, with the deb installation):
-> The deb installer may wish to install this version or acknowledge the older default one. |
@lencx bro can you make this application working with OpenSSL 3.x instead of old OpenSSL 1.1? The 1.1 has security holes. |
I guess he can setup a actions for different builds... For now work out with 1.1, hope this is fixed with v3.x instead |
HI! I installed this application via the software install gui application and dpkg both. It installs fine but for some reasons it doesn't run.
It installed correctly , but when i try to run it, nothing happens.
Is there anything else i can do to install ?
OS: Ubuntu 22.10 x86_64
The text was updated successfully, but these errors were encountered: