Hello!

        Well I had made a little script some time ago that you may (or may not) 
find 
usefull. It will search for library dependencies for the binary files in a 
text file named "need". Then it will sort and rewrite this need file with 
unique dependencies, and tell you how many lines it became. You can run it 
several times to find more dependencies, but usually just one time will give 
the right result.
        This only list dependencies that ldd can find, it will not list 
external 
programs or dlopened libs such xmms plugins.

cat need | while read f; do ldd "$f" | cut -f 2 | cut -d\  -f 3 >> need.tmp; 
echo "$f" >>need.tmp ; done; sort -u need.tmp >need; rm need.tmp; cat need | 
wc -l

if i put a single line "/opt/openoffice/program/soffice.bin" in the file need, 
after running this script i go 38 dependencie lines.

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to