LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   No ltrace (Slackware 14.0) (http://www.linuxquestions.org/questions/linux-general-1/no-ltrace-slackware-14-0-a-4175448337/)

PrinceCruise 02-02-2013 10:20 AM

No ltrace (Slackware 14.0)
 
Hello,

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?

Regards.

tronayne 02-02-2013 12:12 PM

Slackware does not come with ltrace; it's available at SlackBuilds.org (http://slackbuilds.org/repository/14...pment/latrace/.

Hope this helps some.

PrinceCruise 02-02-2013 01: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.

Regards.

tronayne 02-02-2013 01:41 PM

Maybe you might want to give it a shot?
Quote:

DESCRIPTION
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 05:45 AM

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

Regards.


All times are GMT -5. The time now is 05:05 AM.