On Mon, 20 Sep 2004, Steve Friedman wrote: > On Mon, 20 Sep 2004, Nicolas wrote: > > > Hello ! > > I added some dependencies informations into my SPEC files, but as I'm not the > > author of the original software, I don't know how it works in details. So my > > question is the following : How is it possible to know which programs or > > libraries are needed by my program ? > > /usr/sbin/lsof will list everything that the executable(s) are using. > Also you can run ldd against the executables. This will list the dynamic libraries. That said rpm (at least in 4.x and beyond) will automatic figure out the library dependencies of an application. Cheers...james _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list