install valgrind, Fatal error at startup

后端 未结 3 663
深忆病人
深忆病人 2021-02-19 00:56

I am installing Valgrind but encounter some problems. The info of my platform:

Linux xx-ThinkPad-X61 3.2.0-39-generic-pae #62-Ubuntu SMP Wed Feb 27 22:25:11 UTC          


        
3条回答
  •  一个人的身影
    2021-02-19 01:49

    I also faced this error, but finally resolved in below manner.

    I am having 64 bit Ubuntu 14.04, and my executable is 32 bit. When I run my 32 bit executable with valgrind I got this same error. This error was not resolved even after installing libc6-dbg (using command apt-get install libc6-dbg).

    Later I found like whatever libc6-dbg present in my machine was 64 bit and valgrind requires a 32 bit libc6-dbg to run my 32 bit executable. After installing 32 bit libc6-dbg (using the command apt-get install libc6-dbg:i386) it started working.

提交回复
热议问题