dh_shlibdeps -a dpkg-shlibdeps: error: cannot find library libtdjson.so.1.8.38 needed by debian/lomiri-teleports-app/usr/bin/lomiri-teleports-app (ELF format: 'elf64-x86-64' abi: 'ELF:64:l:amd64:0'; RPATH: '') dpkg-shlibdeps: warning: diversions involved - output may be incorrect diversion by libc6 from: /lib64/ld-linux-x86-64.so.2 dpkg-shlibdeps: warning: diversions involved - output may be incorrect diversion by libc6 to: /lib64/ld-linux-x86-64.so.2.usr-is-merged dpkg-shlibdeps: error: cannot continue due to the error above Note: libraries are not searched in other binary packages that do not have any shlibs or symbols file. To help dpkg-shlibdeps find private libraries, you might need to use -l. dh_shlibdeps: error: dpkg-shlibdeps -Tdebian/lomiri-teleports-app.substvars debian/lomiri-teleports-app/usr/lib/x86_64-linux-gnu/lomiri-push-service/legacy-helpers/push debian/lomiri-teleports-app/usr/bin/lomiri-teleports-app returned exit code 2 dh_shlibdeps: error: Aborting due to earlier error make: *** [debian/rules:10: binary-arch] Error 25 dpkg-buildpackage: error: debian/rules binary-arch subprocess returned exit status 2
dpkg-shlibdeps
tool failed to correctly detect the library libtdjson.so.1.8.38
. By setting LD_LIBRARY_PATH=/usr/lib/$(DEB_HOST_MULTIARCH)/TDLib1.8.38:$LD_LIBRARY_PATH
, the library can be properly recognized. The debpatch is in the attachment.I have tested that locally and it works well.Please let me know whether this solution can be accepted.Attachment:
fix_lomiri-teleports-app_build_failure.patch
Description: Binary data