Shared object "libnetgraph.so.4" not found, required by "netstat"
Per Hedeland
per at hedeland.org
Thu May 14 13:46:00 UTC 2020
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
More information about the freebsd-questions
mailing list