Libastra_core.so not found

When running simple codes in astra tutorial, I always met the error while loading shared libraries: libastra_core.so .
I have added libastra.so, libastra_core.so,libastra_core_api.so into link libraries.
Anyone tell me the reason why this keeps happening?

#include <astra/astra.hpp>

#include <cstdio>
#include <iostream>

int main(int argc, char** argv)
{
    //initialize Astra
    astra::initialize();

    //close Astra
    astra::terminate();

    std::cout<<"hit enter to exit program"<<std::endl;
    std::cin.get();

    return 0;
}

Hi,

What command do you use to start the app? I think the so files are not in your ld_library path.
Try this:
$ LD_LIBRARY_PATH=$(ASTRA_SDK_ROOT)/lib ./sampleapp