Closed VadimAND closed 4 months ago
libssl.so.1.1: cannot open shared object file: No such file or directory
Do you have libssl.so.1.1
on that computer?
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. https://github.com/sanderwollaert/tdlib.native/actions/runs/8875002559/artifacts/1455906780
I now have a working .net 8 application hosted on a linux azure app service.
Hoping for an official release
No answer in 2 weeks ⇒ closed.
Maybe this is a duplicate of #66.
There was a problem when changing the version from .NET 7 to .NET 8
The error only appears when using Docker. The build file remains the same.
The error appears when creating a client: _client = new TdClient();
Package versions TDLib (1.8.21) TDLib.Api (1.8.21) tdlib.native(1.8.21)
libraries in the runtimes/linux-x64/native folder: libtdactor.a libtdapi.a libtdclient.a libtdcore.a libtddb.a libtdjson.so libtdjson.so.1.8.21 libtdjson_private.a libtdjson_static.a libtdnet.a libtdsqlite.a libtdutils.a 7.0 8.0
The error itself: Unable to load shared library 'tdjson' or one of its dependencies. In order to help diagnose loading problems, consider using a tool like strace. If you're using glibc, consider setting the LD_DEBUG environment variable: /app/bin/Debug/net8.0/runtimes/linux-x64/native/tdjson.so: cannot open shared object file: No such file or directory /usr/share/dotnet/shared/Microsoft.NETCore.App/8.0.4/tdjson.so: cannot open shared object file: No such file or directory /app/bin/Debug/net8.0/tdjson.so: cannot open shared object file: No such file or directory libssl.so.1.1: cannot open shared object file: No such file or directory /usr/share/dotnet/shared/Microsoft.NETCore.App/8.0.4/libtdjson.so: cannot open shared object file: No such file or directory /app/bin/Debug/net8.0/libtdjson.so: cannot open shared object file: No such file or directory /app/bin/Debug/net8.0/runtimes/linux-x64/native/tdjson: cannot open shared object file: No such file or directory /usr/share/dotnet/shared/Microsoft.NETCore.App/8.0.4/tdjson: cannot open shared object file: No such file or directory /app/bin/Debug/net8.0/tdjson: cannot open shared object file: No such file or directory /app/bin/Debug/net8.0/runtimes/linux-x64/native/libtdjson: cannot open shared object file: No such file or directory /usr/share/dotnet/shared/Microsoft.NETCore.App/8.0.4/libtdjson: cannot open shared object file: No such file or directory /app/bin/Debug/net8.0/libtdjson: cannot open shared object file: No such file or directory