As the title says, ltrace does not work properly on my system. It shows no output in most cases, like
$ltrace ls
[usual ls output]
+++ exited (status 0) +++
$gcc hello.c
$ltrace ./a.out
Hello world!
+++ exited (status 0) +++
I'm using the latest ltrace version (from package 0.7.3-5.1ubuntu4
), I even tried recompiling from source with no difference.
I'm using Ubuntu 16.10
, kernel 4.8.0-42-generic
. gcc version is 6.2.0
.
Weird thing is, binaries downloaded from the Internet seem to work, correctly displaying the library calls.
What am I missing? Is anyone able to reproduce the issue?
See Question&Answers more detail:os