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)
Thu, Nov 20, 5:03 AM
Unknown Object (File)
Wed, Nov 12, 2:35 AM
Unknown Object (File)
Sat, Nov 8, 12:19 PM
Unknown Object (File)
Mon, Nov 3, 5:14 PM
Unknown Object (File)
Oct 22 2025, 3:35 AM
Unknown Object (File)
Oct 18 2025, 12:06 AM
Unknown Object (File)
Oct 6 2025, 6:31 AM
Unknown Object (File)
Sep 8 2025, 9:46 AM
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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable