From owner-freebsd-questions@freebsd.org Thu May 14 13:46:00 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C4BF62F2898 for ; Thu, 14 May 2020 13:46:00 +0000 (UTC) (envelope-from per@hedeland.org) Received: from mailout.easydns.com (mailout.easydns.com [64.68.202.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 49NCVb69rYz4Lvp for ; Thu, 14 May 2020 13:45:59 +0000 (UTC) (envelope-from per@hedeland.org) Received: from localhost (localhost [127.0.0.1]) by mailout.easydns.com (Postfix) with ESMTP id C4FAEC633E for ; Thu, 14 May 2020 13:45:58 +0000 (UTC) Received: from mailout.easydns.com ([127.0.0.1]) by localhost (emo12-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id S08rx_31y5hG for ; Thu, 14 May 2020 13:45:58 +0000 (UTC) Received: from hedeland.org (81-228-157-209-no289.tbcn.telia.com [81.228.157.209]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mailout.easydns.com (Postfix) with ESMTPSA id 8838CC2841 for ; Thu, 14 May 2020 13:45:58 +0000 (UTC) Received: from pluto.hedeland.org (pluto.hedeland.org [10.1.1.5]) by tellus.hedeland.org (8.15.2/8.15.2) with ESMTPS id 04EDjugQ069781 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO) for ; Thu, 14 May 2020 15:45:56 +0200 (CEST) (envelope-from per@hedeland.org) Subject: Re: Shared object "libnetgraph.so.4" not found, required by "netstat" To: freebsd-questions@freebsd.org References: <20200512154502.GH59811@bastion.zyxst.net> <20200513180158.GA23072@bastion.zyxst.net> <70cc3458-237f-847c-03f0-0767c26f6b89@fastmail.com> <8570e125-f34d-840a-5803-376d43bc9723@hedeland.org> <20200514011537.GC23072@bastion.zyxst.net> <0278cb1e-8084-6dce-5ac7-1e5297ff40d5@hedeland.org> <20200514110619.GD23072@bastion.zyxst.net> From: Per Hedeland Message-ID: Date: Thu, 14 May 2020 15:45:56 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.3.1 MIME-Version: 1.0 In-Reply-To: <20200514110619.GD23072@bastion.zyxst.net> Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 49NCVb69rYz4Lvp X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of per@hedeland.org has no SPF policy when checking 64.68.202.10) smtp.mailfrom=per@hedeland.org X-Spamd-Result: default: False [0.22 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_FIVE(0.00)[5]; RECEIVED_SPAMHAUS_PBL(0.00)[209.157.228.81.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.46)[-0.457,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[hedeland.org]; NEURAL_HAM_MEDIUM(-0.31)[-0.310,0]; R_SPF_NA(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[10.202.68.64.list.dnswl.org : 127.0.5.1]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:16686, ipnet:64.68.200.0/22, country:CA]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(0.19)[ip: (0.21), ipnet: 64.68.200.0/22(-0.39), asn: 16686(1.22), country: CA(-0.09)]; FROM_EQ_ENVFROM(0.00)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 May 2020 13:46:00 -0000 On 2020-05-14 13:06, tech-lists wrote: > On Thu, May 14, 2020 at 11:09:48AM +0200, Per Hedeland wrote: > >> I think so - maybe do a 'ls -l /usr/lib/libnetgraph.so.4' first to >> verify that it really is *missing*. > > There was no libnetgraph* anything. > >> May be hard/impossible to figure out at this point... I'd first of all >> try to find out whether it was missing from day one, which would imply >> an installation problem (e.g. full disk?) - or if not, try to find out >> *when* it went missing, and check logs around that time (if still >> available) for any hints. I.e. pretty obvious stuff, and definitely >> not guaranteed to give any result. > > From an equivalent vm I uploaded these four files into /usr/lib : > libnetgraph.a > libnetgraph.so > libnetgraph.so.4 > libnetgraph_p.a Strange - they should all be there, although only libnetgraph.so.4 is needed "at runtime". > and now netgraph works and the daily interface status stats work normally. > Do you think I need to do anything else with these? I mean do they need ld for > example (I know next to nothing about ld) No, nothing needs to be done with those. However if I were you, at least until I had figured out why those files were missing, I would wonder *what else* might be missing. I guess you can use mtree(8) to compare against one of the other VMs, but it might actually be best to do a full re-install from scratch of this one. --Per