I want to be sure about any required libraries to be added into the developed Android App. Thus, I am trying to have it properly defined into LD_LIBRARY_PATH. The command ldd is used to check what libraries are needed for my Qt application.
When I run ldd on Ubuntu, it was supposed to give me the list of libs required for MyApp. However, this is what I get so far:
$ cd MyAppProjFolder
$ ldd MyApp | grep libQt
ldd: ./MyApp: not regular file
$ file MyApp
MyApp: directory
$ cd Debug
$ ldd MyApp | grep libQt
./MyApp: No such file or directory
$ cd android-build
$ ldd MyApp | grep libQt
./MyApp: No such file or directory
$ cd bin
$ ldd MyApp | grep libQt
./MyApp: No such file or directory
To find where the executable is located I run the commands:
$ find /home/user/MyAppProjFolder -name MyApp
/MyAppProjFolder/.../bin/classes/org/qtproject/example/MyApp
$ ldd MyApp | grep libQt
./MyApp: No such file or directory
What am I missing here? The executable file generated is different from the name of the defined project/app?