在android框架中执行valgrind for.so二进制文件。在命令执行时遇到如下链接器错误,如何解决这个问题?
command: valgrind --leak-check=full --tool=memcheck /vendor/bin/BINARYFILE
=11442== Memcheck, a memory error detector
==11442== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al.
==11442== Using Valgrind-3.23.0 and LibVEX; rerun with -h for copyright info
==11442== Command: /vendor/bin/BINARYFILE
==11442== CANNOT LINK EXECUTABLE "/vendor/bin/BINARYFILE": library "/data/valgrind/libexec/valgrind/vgpreload_core-amd64-linux.so" needed or dlopened by "/vendor/bin/BINARYFILE" is not accessible for the namespace "(default)"
==11442==
==11442== HEAP SUMMARY:
==11442== in use at exit: 0 bytes in 0 blocks
==11442== total heap usage: 0 allocs, 0 frees, 0 bytes allocated
==11442==
==11442== All heap blocks were freed -- no leaks are possible
==11442==
==11442== For lists of detected and suppressed errors, rerun with: -s
==11442== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)