Re: "libcap_fileargs.so.1" not found
- Reply: Eduardo Lemos de Sa : "Re: "libcap_fileargs.so.1" not found"
- In reply to: Frank Leonhardt : ""libcap_fileargs.so.1" not found"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 24 Jan 2024 18:07:59 UTC
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