The path of the LD_LIBRARY_PATH should be
'<app_root_path>/bin/<executable_file>/../lib/".
Change-Id: I6062208fe217d17298132a8edeb2244e047b17e1
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
std::string Util::GetLibDirectory(const AppInfo* app_info) {
std::filesystem::path path(app_info->GetAppPath());
- auto lib_dir = path.relative_path().string() + "/../lib/";
+ auto lib_dir = path.parent_path().string() + "/../lib/";
if (std::filesystem::exists(lib_dir))
return lib_dir;