-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 30/03/2010 02:58:13, Programmer In Training wrote: >> find /usr/local/bin /usr/local/lib -name -type f | \
> Is the 'f' a typo? I had to remove it because find kept on erroring on it. There is a typo, but it's to do with the -name predicate. -name needs an argument -- but as the quoted script seems to be trying to scan for the libraries linked to be everything in ${PREFIX}/bin and ${PREFIX}/lib you don't need to filter by name at all. Just use: find /usr/local/bin /usr/local/lib -type f | \ '-type f' says 'only regular files, not directories or sym-links' Note that using grep(1) to work out what a binary links to is exceedingly bizarre. ldd(1) is the correct tool for that job. In any case, there are better solutions to this problem: try using the sysutils/libchk port. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkuxp9kACgkQ8Mjk52CukIzmqgCfVX1vLd0TW/AZ01SLEVtKUvPP nEwAnjFHrOj+CdtF09CqC6/VAaoP2ERP =Tlgk -----END PGP SIGNATURE----- _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"