[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
library sanity check script
From: |
Thien-Thi Nguyen |
Subject: |
library sanity check script |
Date: |
Thu, 06 Jun 2002 16:08:31 -0700 |
folks,
the script below can be used to see which libraries are being accessed,
at least on a GNU/Linux box. it uses strace(1). for example, i save
this as "st" and invoke like so (in $top_builddir):
st ./check-guile threads.test
st ./check-guile -i ~/bin/guile-1.4 threads.test
(here, i'm interested in finding out if libqthreads is being loaded from
the right place.) st is also useful for tracking down libtool "file not
found" errors.
thi
__________________________
#!/bin/sh
strace -e open "$@" 2>&1 | grep -v 'o such file'
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- library sanity check script,
Thien-Thi Nguyen <=