Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Nov 2017 05:37:52 -0800
From:      Mark Millard <markmi@dsl-only.net>
To:        FreeBSD-STABLE Mailing List <freebsd-stable@freebsd.org>
Subject:   stable/11 -r326142 (e.g.): "cat /dev/null | zstd --stdout" gets "/usr/bin/zstd: Undefined symbol "stat@FBSD_1.5"
Message-ID:  <0E455C3B-3959-4586-8CD9-F6225CF04C41@dsl-only.net>

next in thread | raw e-mail | index | archive | help
# cat /dev/null | zstd --stdout
/usr/bin/zstd: Undefined symbol "stat@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/
#=20

(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.

=3D=3D=3D
Mark Millard
markmi at dsl-only.net




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0E455C3B-3959-4586-8CD9-F6225CF04C41>