-
Notifications
You must be signed in to change notification settings - Fork 22
Conversation
What OS is that, @ImmaZoni? There is no information about that on the forum and no link to original discussion. It is very unusual to not have OpenSSL installed on the machine, but I'm also wondering why is it necessary in the first place, looks like Tauri bug to me that needs to be reported. If it was needed, OpenSSL would have been in dependencies already. I feel like including OpenSSL for no reason and without any actual explanation is not the right approach. BTW, does this actually fix an issue for user? |
The executable was not working in Justin's Linux too. OpenSSL is actually in the dependencies of tauri, we checked the Also worth mentioning, this |
Did you report this to Tauri? I'm not opposed to workaround if it is clearly marked as such and has an upstream ticket corresponding to it. |
I previously did not think of it as a bug from the Tauri. I will report it to them now, thanks! |
@nazar-pc it is clearly a tauri bug I think, as for the deb packages it doesn't include openssl as a dependency. I thought we could at least temporary solve the issue by vendoring openssl. I guess we should at least create an issue for tauri about that. |
Yes, and there should be a TODO in Cargo.toml saying we need to remove OpenSSL, it is there just for feature unification and isn't used otherwise. |
Found this: |
Have you tried changing UPD: Similar change needs to be made for macOS too. |
I haven't tried, but Justin's Ubuntu was 22.04... |
Tried with docker on |
Reported this to tauri team in their discord, will post here if they answer 👍 |
Fabian answered to my question
|
Hmm, makes sense, but at least they can add it as a deb package dependency then. This is a clear bug, as an app won't start if you install the package. |
I got rid of the unused |
They can't as OpenSSL 1.1.x is no longer present in Ubuntu 22.04 repos anymore 🙃 I'd argue they need to switch to OpenSSL-free library for those things. BTW, I have prepared Meson support for OpenSSL that doesn't require Make, Perl, but of course still needs C compiler: https://github.com/mesonbuild/wrapdb/tree/master/subprojects/packagefiles/openssl |
Fixes #272
@ImmaZoni and I were testing this. I tried adding the
openssl
dependency to the frontend, viayarn add openssl
. However, it did not work.So we tried adding it to
backend
side viacargo add openssl
, and setvendored
as the feature. It worked.Don't know why it did not work when we included it as a frontend dependency though...