Please complile with -fPIE and link with -pie flag

Please complile with -fPIE and link with -pie flag

BY 25 Nov 2016 SDK & IDE

 

I created a new project. Change platform to Tizen.

I launch Tizen studio and emulator. but at the time of running the application error occurs

launchpad_loader.c: main(713) > dlopen failed(/opt/usr/apps/my.game.name/bin/newunityproject: cannot open shared object file: No such file or directory). Please complile with -fPIE and link with -pie flag

launchpad_loader.c: main(739) > [SECURE_LOG] execv() failed for file: “/opt/usr/apps/my.game.name/bin/newunityproject”, error: 8 (Exec format error)

where it is necessary to prescribe the parameters -fPIE -pie flag ? How to fix it?

Written by