ltrace — Trace Library Calls in Linux

The ltrace command traces library calls made by a program. It can help when a command fails and you want to see which shared library functions it is calling.

Basic usage

ltrace command

Example

ltrace ls

Use ltrace when you are interested in library calls. Use strace when you want to trace system calls such as file, process and network operations.

Leave a Comment