tdlib / td

Cross-platform library for building Telegram clients
https://core.telegram.org/tdlib
Boost Software License 1.0
7.11k stars 1.44k forks source link

moving app to a different computer #2813

Closed culexjj closed 5 months ago

culexjj commented 7 months ago

Hello,

I trying to make my java app (base on TDlib) on a different computer but I get the well know error "java.lang.unsatisfiedLinkError ... tdjni.dll: can't find dependent libraries"

I've already read similar Issues here and I think I have copied all involved dll in c:\windows\system32 for avoiding troubles but it doesn't work

I've copied these dll but I think I've forget something

libcrypto-3-x64.dll libssl-3-x64.dll tdjni.dll tdjson.dll zlib1.dll zlibd1.dll legacy.dll

What do you think?

Culex

culexjj commented 7 months ago

by the way, I'm using version to 1.8.22

levlam commented 7 months ago

You can use https://github.com/lucasg/Dependencies to find the missing dependencies.

If you built a debug version, then you must also install Visual C++ Redistributable package.

culexjj commented 7 months ago

Hello levlam,

It is strange, it was related with Visual C++ Redistributable package but after installing them from here 'https://learn.microsoft.com/es-es/cpp/windows/latest-supported-vc-redist?view=msvc-170#latest-microsoft-visual-c-redistributable-version' the problem still

Anyway, with the tool for finding the missing dependencies I have been able to fix it

Thank you very much.