From e40a70a28697005e1e34edab14bf7f8e091d2a79 Mon Sep 17 00:00:00 2001 From: Semun Lee Date: Thu, 8 Sep 2016 13:03:23 +0900 Subject: Remove RTLD_DEEPBIND I found many Tizen Store applications have potential problem of symbol conflict as they include some glib symbols in its executable. We cannot deal this issue in general way. For workaround, they can be launched by removing RTLD_DEEPBIND flag from dlopen of executable file. Change-Id: I6635b7e14fb7e79d2895476c705f4f97eaecfcb9 Signed-off-by: Semun Lee --- src/launchpad_loader.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') diff --git a/src/launchpad_loader.c b/src/launchpad_loader.c index 0b7c3a6..8559b73 100644 --- a/src/launchpad_loader.c +++ b/src/launchpad_loader.c @@ -298,8 +298,7 @@ static int __loader_terminate_cb(int argc, char **argv, void *user_data) do_dlopen: handle = dlopen(argv[LOADER_ARG_PATH], - RTLD_LAZY | RTLD_GLOBAL - | RTLD_DEEPBIND | RTLD_NODELETE); + RTLD_LAZY | RTLD_GLOBAL | RTLD_NODELETE); if (handle == NULL) { _E("dlopen failed(%s). Please complile with -fPIE and " \ "link with -pie flag", dlerror()); -- cgit v1.2.3