Re: "libcap_fileargs.so.1" not found

From: Eduardo Lemos de Sa <eduardo.lemosdesa_at_gmail.com>
Date: Wed, 24 Jan 2024 20:56:16 UTC
Dear

On Wed, Jan 24, 2024 at 3:08 PM Pete Wright <pete@nomadlogic.org> wrote:

>
> 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
>
>
>
I did a update from source (using git). I compiled world, kernal. Before to
do a restart, I update and upgrade all packages (pkg utility).
Everything went fine.

My best wishes

Eduardo


-- 
Eduardo Lemos de Sa
Professor Titular
Dep. Quimica da Universidade Federal do Paraná
fone: +55(41)3361-3300
fax:   +55(41)3361-3186