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)
Sat, Aug 2, 3:25 AM
Unknown Object (File)
Sat, Jul 26, 1:39 PM
Unknown Object (File)
Wed, Jul 23, 11:03 PM
Unknown Object (File)
Jul 3 2025, 10:26 AM
Unknown Object (File)
Jul 1 2025, 3:21 PM
Unknown Object (File)
Jul 1 2025, 6:52 AM
Unknown Object (File)
Jun 30 2025, 2:57 PM
Unknown Object (File)
Jun 25 2025, 3:54 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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable