From nobody Wed Jan 24 18:07:59 2024 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TKsQ43MrKz58SGW for ; Wed, 24 Jan 2024 18:08:12 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from mail.nomadlogic.org (mail.nomadlogic.org [66.165.241.226]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4TKsQ371Fhz56Mg for ; Wed, 24 Jan 2024 18:08:11 +0000 (UTC) (envelope-from pete@nomadlogic.org) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nomadlogic.org; s=04242021; t=1706119679; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=eTqEm1sPCYgbAl4g/OJAGz4DLBgimq6S0Y5FlM1tVYE=; b=Ys9gTXYXbtsDI8v0LSZhmBT2MVn7tQivYxi8k3XJIuEOFDJhLZm4sbAoDkSNb0FxNETcMy y4izNucYZq4OIcgn+12on+jkwigyMPFbWgUsqo5nKkdI0BnnosQhqO72ZwoH8mIaHHAi2m JHqmPI+CH6O1kiHwAY+WfVHz474PDR4= Received: from [192.168.1.160] ( [47.150.83.63]) by mail.nomadlogic.org (OpenSMTPD) with ESMTPSA id 6936f3f2 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Wed, 24 Jan 2024 18:07:58 +0000 (UTC) Message-ID: Date: Wed, 24 Jan 2024 10:07:59 -0800 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: "libcap_fileargs.so.1" not found Content-Language: en-US To: Frank Leonhardt , freebsd-questions@freebsd.org References: <542ee99a-c27f-4127-a723-abc0a77dd2fe@fjl.co.uk> From: Pete Wright In-Reply-To: <542ee99a-c27f-4127-a723-abc0a77dd2fe@fjl.co.uk> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4TKsQ371Fhz56Mg X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:29802, ipnet:66.165.240.0/22, country:US] 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