I am using google prof tools, and link my app with -lprofiler, but when I run this program: error while loading shared libraries: libprofiler.so.0: cannot open shared object file: No such file or directory
on the contrary, I link with -ltcmalloc then I do not need a tcmalloc.so at runtime.
I have already link the static lib for profiler, why should I need it at runtime?