Development setup for Persee on Linux

open("/lib/libastra.so", O_RDONLY|O_CLOEXEC) = 3
...
stat64("/lib/Plugins//libOpenNI2.so", {st_mode=S_IFREG|0777, st_size=349857, ...}) = 0

Seems like both files are found and loaded, so it’s probably not that. The locations are different from my setup, and I think this might be the issue: OpenNI2, by default, excepts to find driver libraries in a folder: openni_lib_path/OpenNI2/Drivers/*.so, so you might want to try this folder structure:

./foo
./foo/MyApp
./foo/Lib/
./foo/Lib/libOpenNI2.so
./foo/Lib/OpenNI2/Drivers/liborbbec.so

And then run the app with: LD_LIBRARY_PATH=./Lib ./MyApp