Date: Thu, 14 May 2020 15:45:56 +0200 From: Per Hedeland <per@hedeland.org> To: freebsd-questions@freebsd.org Subject: Re: Shared object "libnetgraph.so.4" not found, required by "netstat" Message-ID: <f512e435-b92b-ceaa-02ba-c5844b124ebe@hedeland.org> In-Reply-To: <20200514110619.GD23072@bastion.zyxst.net> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f512e435-b92b-ceaa-02ba-c5844b124ebe>