tdlib.native icon indicating copy to clipboard operation
tdlib.native copied to clipboard

libssl3: Ubuntu 22.04 version please

Open mortezae opened this issue 2 years ago • 4 comments

Ubuntu has switched to libssl3. I personally compiled tdlib but encountered runtime error when running the binary: Error while reading RSA public key. Could you compile it please?

mortezae avatar May 06 '22 14:05 mortezae

Turned out that you can install libssl1 from older versions of Ubuntu. I don't know if it's ok, btw it just works.

mortezae avatar May 06 '22 16:05 mortezae

Ow, that's painful.

How do you use the package? Using .NET or something else, like Node.js?

I am asking because for .NET I'll have to figure out how to pack different Linux artifacts into the same package. I think that should be possible, but I've never done that, yet.

ForNeVeR avatar May 07 '22 07:05 ForNeVeR

That's kinda upstream and I should ask about it in tdlib/td/issues. Anyway for now we can use old ssl package, and let's wait for tdlib's next release. And I'm personally using Node.js. Thanks.

mortezae avatar May 07 '22 10:05 mortezae

I think I'm ready to start working on libssl3 binaries (ubuntu 22.04-based), provided that tdlib itself is compatible with that version.

ForNeVeR avatar May 07 '22 11:05 ForNeVeR

I have the same issue.

As a temporary fix, I made a fork of the code. Changed the build agents to ubuntu-22.04 and referenced the output files directly.

I now have a working .net 8 application hosted on a linux azure app service.

Hoping for an official release

sanderwollaert avatar Apr 29 '24 09:04 sanderwollaert