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, Jan 30, 6:02 PM
Unknown Object (File)
Wed, Jan 28, 2:28 AM
Unknown Object (File)
Wed, Jan 28, 2:28 AM
Unknown Object (File)
Jan 4 2026, 4:11 PM
Unknown Object (File)
Dec 20 2025, 8:13 AM
Unknown Object (File)
Dec 12 2025, 2:46 AM
Unknown Object (File)
Dec 10 2025, 9:18 PM
Unknown Object (File)
Dec 6 2025, 12:40 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