The ltrace command tracks shared library calls. The output is similar to that of strace but it doesn't track anything at the kernel level. There are many more shared library calls than system calls, hence we need to filter the output of ltrace.
The output is similar to that of strace but it doesn't track anything at the kernel level and we have many more shared library calls than system calls , so we will need to filter the output and ltrace has many built in options for that purpose.