Todd Pisek wrote: > I have heard that scripts/tools exist to help determine the dependencies > of a new package. Does anyone know where such a thing can be found and > how it is used?
The script I wrote, and which Install QA uses to double check your work, is available on the SWAN at http://xserver.sfbay.sun.com/~alanc/check-deps.pl and attached here for people without SWAN access. (I'd sent out a previous version a while ago, but it was updated in May to add support for the new 7z compression used in the WOS.) To view documentation, run "perldoc -F check-deps.pl" on it. It's far from perfect, but generally detects: - libraries linked to by ELF binaries - shells/interpreters listed on #! lines It also finds errors in your ELF binary RUNPATH settings like forgetting -R paths you need, including ones you don't need, forgetting -norunpath on C++ binaries, etc. -- -Alan Coopersmith- alan.coopersmith at sun.com Sun Microsystems, Inc. - X Window System Engineering -------------- next part -------------- A non-text attachment was scrubbed... Name: check-deps.pl Type: application/x-perl Size: 29359 bytes Desc: not available URL: <http://mail.opensolaris.org/pipermail/sfwnv-discuss/attachments/20080618/bf6b2f88/attachment.pl>
