You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently building a Java service that uses tdlight-java and I’m trying to create a Docker image for it.
Im trying to specify -Djava.library.path in env variables, but it didn't work.
Im getting error: Caused by: java.lang.IllegalArgumentException: Failed to load any of the given libraries: [tdjni.linux_amd64_clang_ssl1, tdjni.linux_amd64_clang_ssl3, tdjni.linux_amd64_gnu_ssl1, tdjni.linux_amd64_gnu_ssl3]
When I`m running my app locally it works fine in intellij idea with env in -Djava.library.path=/myapp/td/tdlib/bin, but actually i cant understand why, because i don't have compiled folders td/tdlib/bin in my projects
Do I still need to build TDLib from source inside the Docker image even tdlight-api-legacy have all files?
Could you please share the recommended or minimal Dockerfile setup for running tdlight-java?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there 👋
I'm currently building a Java service that uses tdlight-java and I’m trying to create a Docker image for it.
Im trying to specify -Djava.library.path in env variables, but it didn't work.
Im getting error: Caused by: java.lang.IllegalArgumentException: Failed to load any of the given libraries: [tdjni.linux_amd64_clang_ssl1, tdjni.linux_amd64_clang_ssl3, tdjni.linux_amd64_gnu_ssl1, tdjni.linux_amd64_gnu_ssl3]
i have this dependencies in pom.xml
When I`m running my app locally it works fine in intellij idea with env in -Djava.library.path=/myapp/td/tdlib/bin, but actually i cant understand why, because i don't have compiled folders td/tdlib/bin in my projects
Do I still need to build TDLib from source inside the Docker image even tdlight-api-legacy have all files?
Could you please share the recommended or minimal Dockerfile setup for running tdlight-java?
Thank you for your work!
Beta Was this translation helpful? Give feedback.
All reactions