Mark Millard
2017-Nov-26 13:37 UTC
stable/11 -r326142 (e.g.): "cat /dev/null | zstd --stdout" gets "/usr/bin/zstd: Undefined symbol "stat@FBSD_1.5"
# cat /dev/null | zstd --stdout /usr/bin/zstd: Undefined symbol "stat at FBSD_1.5" # freebsd-version -ku 11.1-STABLE 11.1-STABLE # uname -apKU FreeBSD FBSDFS 11.1-STABLE FreeBSD 11.1-STABLE r326142 amd64 amd64 1101506 1101506 It was built from source: # svnlite info /usr/src/ Path: . Working Copy Root Path: /usr/src URL: svn://svn.freebsd.org/base/stable/11 Relative URL: ^/stable/11 Repository Root: svn://svn.freebsd.org/base Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f Revision: 326142 Node Kind: directory Schedule: normal Last Changed Author: ae Last Changed Rev: 326142 Last Changed Date: 2017-11-23 20:42:21 -0800 (Thu, 23 Nov 2017) # svnlite status /usr/src/ # (So, no changes.) /usr/src/lib/libc/sys/Symbol.map has: FBSD_1.0 { . . . socket; socketpair; stat; statfs; swapoff; swapon; . . . So 1.0 vs. 1.5 for some reason. Note: Using /rescue/zstd avoids this issue. ==Mark Millard markmi at dsl-only.net