0

I am going to use ltrace for some applications like chrome but when I use it, I receive the following error message.

"/usr/bin/google-chrome" is not an ELF file

Does anybody know about the solution? I want to know what functions are exactly called by running an application.

Thanks,

M R
  • 31
  • 5

1 Answers1

1

Does anybody know about the solution?

file -L /usr/bin/google-chrome
/usr/bin/google-chrome: Bourne-Again shell script, ASCII text executable

This tells you that google-chrome is a shell script. If you look inside, you'll see that it eventually invokes a real ELF binary (/opt/google/chrome/chrome on my system).

I want to know what functions are exactly called by running an application.

The ltrace command will not show you that. It will only show you what external functions are getting called.

Employed Russian
  • 199,314
  • 34
  • 295
  • 362