Page MenuHomeFreeBSD

installworld: improve portability of ldd use
ClosedPublic

Authored by brooks on Jun 28 2022, 12:40 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Apr 11, 1:39 AM
Unknown Object (File)
Thu, Mar 20, 2:16 AM
Unknown Object (File)
Mar 12 2025, 10:12 PM
Unknown Object (File)
Mar 10 2025, 12:12 PM
Unknown Object (File)
Feb 24 2025, 6:59 AM
Unknown Object (File)
Feb 13 2025, 6:06 PM
Unknown Object (File)
Jan 24 2025, 10:58 PM
Unknown Object (File)
Jan 24 2025, 10:22 PM
Subscribers

Details

Summary

b3b462229f97 added a case statement to ignore lines containing strings
in square brackets such as "[vdso]" and "[preloaded]". On MacOS
Monterey where /bin/sh may be zsh, this fails with:

/bin/sh: -c: line 0: syntax error near unexpected token `;;'

Invoke grep in the pipeline to remove such lines instead.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 46144
Build 43033: arc lint + arc unit