From ddb3e4e41c7784a66c1c01406941faea554df0aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thorbj=C3=B8rn=20Lindeijer?= Date: Mon, 10 Jul 2017 21:39:03 +0200 Subject: [PATCH] Added path of problematic binary when dependency could not be found Without verbose logging (which is really spammy) this information is otherwise not available, but it can be very helpful in finding out what's causing the problem. --- tools/linuxdeployqt/shared.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/linuxdeployqt/shared.cpp b/tools/linuxdeployqt/shared.cpp index 5d8436f..dd35705 100644 --- a/tools/linuxdeployqt/shared.cpp +++ b/tools/linuxdeployqt/shared.cpp @@ -301,6 +301,7 @@ LddInfo findDependencyInfo(const QString &binaryPath) // LogDebug() << "ldd outputLine:" << outputLine; if ((outputLine.contains("not found")) && (qtDetectionComplete == 1)){ LogError() << "ldd outputLine:" << outputLine.replace("\t", ""); + LogError() << "for binary:" << binaryPath; LogError() << "Please ensure that all libraries can be found by ldd. Aborting."; exit(1); }