Date: Wed, 24 Jan 2024 10:07:59 -0800 From: Pete Wright <pete@nomadlogic.org> To: Frank Leonhardt <freebsd-doc@fjl.co.uk>, freebsd-questions@freebsd.org Subject: Re: "libcap_fileargs.so.1" not found Message-ID: <ff11311a-52eb-4f2a-999e-b5b22f442f1b@nomadlogic.org> In-Reply-To: <542ee99a-c27f-4127-a723-abc0a77dd2fe@fjl.co.uk> References: <542ee99a-c27f-4127-a723-abc0a77dd2fe@fjl.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
On 1/24/24 04:20, Frank Leonhardt wrote: > This may have a simple fix, but it involves binary packages and these > aren't my thing... > > This is a plain machine I keep as a reference for the latest version > of FreeBSD. In December I tried to "upgrade" it 14, but the result > didn't work out so I reverted to 13.2. All seemed okay. > > Except "wc" now barfs with 'ld-elf.so.1: Shared object > "libcap_fileargs.so.1" not found, required by "wc"' > > libcap_fileargs.so.1 is present and correct, as far as I can tell: > > -r--r--r-- 1 root wheel 12684 Dec 8 17:23 > /usr/lib32/libcap_fileargs.so.1 > -r-xr-xr-x 1 root wheel 13744 Dec 8 17:23 /usr/bin/wc.broken > > Other files in /usr/bin have the same timestamp but those I've tried > seem to work just fine. > > To get me moving I've simply recompiled wc.c, but I'd like to know > what's going on here. Did the rolled-back upgrade to 14 not roll back > fully, and what's the "official" solution? > I think you'll need to provide more information before people can help you. How did you perform the upgrade from 13.2-RELEASE to 14.0-RELEASE? freebsd-update, build from source? How and at what point did the upgrade fail? How did you revert your system back to 13.2-RELEASE? I'm guessing you have a mixed userland right now where there are some binaries that are linked against incorrect libraries. IMHO I would try to complete the upgrade to 14.0-RELEASE as solving for that would ensure you can update the future releases. -pete -- Pete Wright pete@nomadlogic.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ff11311a-52eb-4f2a-999e-b5b22f442f1b>