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)
Mon, Jan 6, 3:36 PM
Unknown Object (File)
Sat, Jan 4, 12:33 PM
Unknown Object (File)
Sun, Dec 29, 10:06 AM
Unknown Object (File)
Fri, Dec 27, 3:56 PM
Unknown Object (File)
Thu, Dec 26, 2:40 PM
Unknown Object (File)
Fri, Dec 13, 5:55 PM
Unknown Object (File)
Fri, Dec 13, 6:06 AM
Unknown Object (File)
Dec 8 2024, 2:55 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