diff --git a/src/core/appdir.cpp b/src/core/appdir.cpp index f42cc4a..12057e5 100644 --- a/src/core/appdir.cpp +++ b/src/core/appdir.cpp @@ -332,6 +332,10 @@ namespace linuxdeploy { return true; } + if (!bf::exists(path)) { + ldLog() << LD_ERROR << logPrefix << LD_NO_SPACE << "Cannot deploy non-existing library file:" << path << std::endl; + return false; + } static auto isInExcludelist = [&logPrefix](const bf::path& fileName) { for (const auto& excludePattern : generatedExcludelist) {