On Mon, Apr 6, 2009 at 11:32 AM, Rich Shepard <[email protected]> wrote:
>   On my main box I have three versions of qt: -3.3.8b, -4.2.2, and -4.4.3.
> The last is the latest version and I use that to build new releases of apps
> requiring qt4 front ends.
>
>   Is there a clever way for me to determine if any currently installed apps
> use the two earlier versions? I'd just as soon delete the /usr/lib/
> directories for them if they're not required.

You can ask a binary which libraries it loads.  Use:
ldd <name of file>

You can learn a bit more here:
http://www.yolinux.com/TUTORIALS/LibraryArchives-StaticAndDynamic.html

Make sure to check both program binaries and .so files.  You wouldn't
want to miss something.  I don't know if this would be exhaustive but
it seems like a good place to start.  Although, it might take a while
to fully automate it.

HTH,
Jason
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to