ltrace - Tracks runtime library calls in dynamically linked programs

Property Value
Distribution Ubuntu 18.04 LTS (Bionic Beaver)
Repository Ubuntu Main amd64
Package name ltrace
Package version 0.7.3
Package release 6ubuntu1
Package architecture amd64
Package type deb
Installed size 392 B
Download size 130.42 KB
Official Mirror
ltrace is a debugging program which runs a specified command until it
exits.  While the command is executing, ltrace intercepts and records
the dynamic library calls which are called by
the executed process and the signals received by that process.
It can also intercept and print the system calls executed by the program.
The program to be traced need not be recompiled for this, so you can
use it on binaries for which you don't have the source handy.
You should install ltrace if you need a sysadmin tool for tracking the
execution of processes.


Package Version Architecture Repository
ltrace_0.7.3-6ubuntu1_i386.deb 0.7.3 i386 Ubuntu Main
ltrace - - -


Name Value
libc6 >= 2.14
libelf1 >= 0.131
libselinux1 >= 1.32


Type URL
Binary Package ltrace_0.7.3-6ubuntu1_amd64.deb
Source Package ltrace

Install Howto

  1. Update the package index:
    # sudo apt-get update
  2. Install ltrace deb package:
    # sudo apt-get install ltrace




2016-10-12 - Steve Langasek <>
ltrace (0.7.3-6ubuntu1) zesty; urgency=low
* Merge from Debian unstable.  Remaining changes:
- Set architecture to linux-any.
- sysdeps/linux-gnu/trace.c: try to make PTRACE scope sysctl more
- Define _LARGEFILE_SOURCE and _LARGEFILE64_SOURCE in debian/rules CFLAGS.
The configure script has a bug where it can't properly cope with the need
to define these before detecting the use of elfutils.
- Add patch to support arm64.
- Include cdbs' autoreconf rules to generate new Makefiles
- Add various patches to support ppc64el.
- Build-depend on dh-autoreconf instead of autotools-dev.
2016-09-21 - Juan Cespedes <>
ltrace (0.7.3-6) unstable; urgency=medium
* Fixed compilation error in amd64: readdir_r is deprecated (closes: #837011)
2016-04-06 - Mathieu Trudel-Lapierre <>
ltrace (0.7.3-5.1ubuntu4) xenial; urgency=medium
* debian/patches/LP1547152.diff: removed.
* Backport more ppc64el fixes to fix tracing on PPC64; backporting the
required bits and pieces from the rest of ltrace (LP: #1547152, #1398143)
- add_irelative_tracing_b420a226.patch: add support for IRELATIVE tracing.
- find_irelative_b061bae3.patch: split the function
linux_elf_find_irelative_name out of linux_elf_add_plt_entry_irelative
- keep_plt_reloc_in_vector_673ff510.patch: keep PLT relocs in a vector.
- add_elf_each_symbol_7a29f9e7.patch: add elf_each_symbol function for
- add_elf_can_read_next_5c37171a.patch: add the elf_can_read_next method.
- add_elf_read_next_u_439ab5bf.patch: add methods for doing stream-like
reads for various types.
- add_elf_read_u8_3c636fb7.patch: add read for u8.
- elf_read_uleb128_184779e4.patch: add elf_read_*_uleb128.
- elf_load_dynamic_entry_4f2f66e6.patch: add function load_dynamic_entry.
- arm_attr_decoding_df7d2311.patch: implement ARM attribute decoding,
this can determine when hardfp is used in the process.
- arm_fetch_backend_97a25160.patch: add fetch backend for float and double
return values on ARM.
- arm_backend_fixes_1383e5bd.patch: misc ARM backend fixes.
- arm_bpc_62fc7747.patch: implement Base Procedure Call Standard.
- arm_vfp_params_1c8596d4.patch: implement VFP parameter passing for ARM.
- arm_vararg_without_vfp_88a0fe50.patch: we need to handle varargs in ARM
without VFP.
- arm_plt_rel_9e33f5ac.patch: unbreak ARM wrt the previous patch, relplt
got removed from struct rtelf; so fix this to still work.
- dont_ltelf_destroy_if_init_fails_0ba3c5ee.patch: don't call
ltelf_destroy if ltelf_init fails (ie. for ENOENT).
- ppc64el.diff: backported eea4ad2c to replace the patch that was already
there, as it includes support for irelative and wchar.
- jmp_irel.patch: backport 73b85aad: support tracing P_PPC64_JMP_IREL.
- ppc64le-fixes.patch: more misc backports for ppc64 fixes, patch from
Fedora packaging git.
+ [35a9677d] fix bugs in fetch backend of powerpc64le
+ [a46c07fc] Fix coding style in PowerPC's arch.h
+ [44789e1e] PowerPC: convert ELFv2 conditionals from preprocessor to
plain conditions.
- ppc64-fork.patch: backport 35742523: Fix tracing across fork on PPC64.
- on_install_breakpoint_56134ff5.patch: ensure we do have the on_install
breakpoint needed for the unprelink patch.
- ppc64-unprelink.patch: backport a0093ca4: Don't crash untraced calls via
PLT in prelinked PPC64 binaries.
- ppc-bias.patch: backport three commits for bias and unresolved breakports
in PPC:
+ [bf821009] Fix address biasing in PPC backend
+ [d80c5371] Fix cloning of PPC_PLT_NEED_UNRESOLVE breakpoints
+ [d8f1287b] Nits

See Also

Package Description
lua-rrd-dev_1.7.0-1build1_amd64.deb time-series data storage and display system (Lua development)
lua-rrd_1.7.0-1build1_amd64.deb time-series data storage and display system (Lua interfaces)
lua5.2-doc_5.2.4-1.1build1_all.deb Documentation for the Lua language version 5.2
lupin-casper_0.57build1_all.deb Add support for loop-mount installations to casper
lupin-support_0.57build1_amd64.deb Support files for loop-mount installations
lvm2_2.02.176-4.1ubuntu3_amd64.deb Linux Logical Volume Manager
lxc-dev_3.0.0-0ubuntu2_all.deb Transitional package - lxc-dev -> liblxc-dev
lxcfs_3.0.0-0ubuntu1_amd64.deb FUSE based filesystem for LXC
lxd-client_3.0.0-0ubuntu4_amd64.deb Container hypervisor based on LXC - client
lxd_3.0.0-0ubuntu4_amd64.deb Container hypervisor based on LXC - daemon
m17n-db_1.7.0-2_all.deb multilingual text processing library - database
m4-doc_1.4.18-1_all.deb Documentation for GNU m4
m4_1.4.18-1_amd64.deb macro processing language
maas-cli_2.4.0~beta2-6865-gec43e47e6-0ubuntu1_all.deb MAAS client and command-line interface
maas-common_2.4.0~beta2-6865-gec43e47e6-0ubuntu1_all.deb MAAS server common files