OK I don't really have a good title yet but I figure I can post works in progress and other tips I've come across or other interesting things.
One Liner Dependency Check for existing binaries
I ran across this a while ago and was reminded of it recently. I'm placing it here for safe keeping in case I ever need to do a full install of gnome to compile a program just to find the 26 specific dependencies it needs so that everything else can be uninstalled (did I say gnuCash? you lie! it works on all modern OS's... well except for slackware
Code:
#!/bin/sh # # Find out all the needed dependencies of a binary objdump -x $1 | grep NEEDED
Total Comments 2
Comments
-
try readelf -d $i | grep NEEDED instead.
Posted 08-13-2009 at 02:13 PM by sahko -
ldd <binary>
also works nicelyPosted 12-19-2009 at 03:45 AM by lumak