-   Linux - General (
-   -   No ltrace (Slackware 14.0) (

PrinceCruise 02-02-2013 09:20 AM

No ltrace (Slackware 14.0)

Is it me or Slackware doesn't come with ltrace utility? I see strace but no ltrace.
I can confirm it's presence in my CentOS 4 and 5 machine(not in 6).
Any pointers please?


tronayne 02-02-2013 11:12 AM

Slackware does not come with ltrace; it's available at (

Hope this helps some.

PrinceCruise 02-02-2013 12:19 PM

Yup, I had visited slackbuilds for ltrace and found latrace instead. I wasn't sure if it's the same package. Thanks for helping out.


tronayne 02-02-2013 12:41 PM

Maybe you might want to give it a shot?

The latrace tracer is able to run a command and display its dynamic library calls
using a LD_AUDIT libc feature, available from libc version 2.4 onward. It is also
capable to measure and display various statistics of dynamic calls. See the section
called "DISCUSSION" for more details.

If the header file with functions' declarations is provided, latrace will display
functions's arguments. The header file file syntax is similar to the C language,
with several exceptions See the section called "HEADERS" for more details.

The latrace by default fully operates inside of the traced program. However another
"pipe mode" is available to move the main work to the tracer - the latrace binary.
See the section called "PIPE mode" for more details.

The latrace use is similar to strace(1) and ltrace(1).
Seems like it's pretty much the same idea.

PrinceCruise 02-03-2013 04:45 AM

Installed. Will check out how does it work out compared to ltrace. Much thanks.


All times are GMT -5. The time now is 08:50 PM.