这是没有配置lib环境变量的缘故。

注意要把lib配置放到path配置前面。

  • 导出VALGRIND_LIB路径,用法如下(假设valgrind已经被安装到/home/test/valgrind目录):
    • export VALGRIND_LIB=/home/test/valgrind/lib/valgrind
  • 或者也可以如下方式调用valgrind:
    • VALGRIND_LIB=/home/test/valgrind/lib/valgrind /home/test/valgrind/bin/valgrind --help

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-08-08
  • 2021-10-25
  • 2022-12-23
  • 2021-10-26
猜你喜欢
  • 2021-08-11
  • 2022-12-23
  • 2021-10-15
  • 2022-12-23
  • 2022-12-23
  • 2021-05-28
  • 2022-12-23
相关资源
相似解决方案