Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Nov 2015 05:25:52 -0600
From:      "Matthew D. Fuller" <fullermd@over-yonder.net>
To:        Konstantin Belousov <kostikbel@gmail.com>
Cc:        FreeBSD CURRENT <freebsd-current@freebsd.org>, jhb@freebsd.org
Subject:   Re: Shared object "libelf.so.2" not found, required by "libkvm.so.6"
Message-ID:  <20151130112552.GZ30248@over-yonder.net>
In-Reply-To: <20151130093949.GH3448@kib.kiev.ua>
References:  <20151129210725.7baf95ee.ohartman@zedat.fu-berlin.de> <CAEJt7hb_45a-XOddf8QLWcLpYLTKvB65Ci2O928wPrTvJTo0%2BQ@mail.gmail.com> <20151130080759.GG3448@kib.kiev.ua> <20151130100446.1af41a37.ohartman@zedat.fu-berlin.de> <20151130093949.GH3448@kib.kiev.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Nov 30, 2015 at 11:39:49AM +0200 I heard the voice of
Konstantin Belousov, and lo! it spake thus:
> 
> I do not know what is the best way to handle it. Most simple is to
> move libelf to /lib. How feasible is to move libkvm to /usr/lib (and
> all stuff in / which needs libkvm) is the open question.

To gild the moderately obvious, I question if we should just mask all
related problems forever, by just giving up tracking and moving
_everything_ into /lib.

According to du -A, /usr/lib/lib*.so* on my system is 11 meg.  /lib is
currently 9.4, so it's only about doubling the size.
/boot/kernel/kernel is 25, so the whole combined set is still smaller
than the kernel itself, never mind + the modules.

For that matter, everything under /usr/lib minus the .a files and the
debug/ tree is still only about 33 meg, so even if the net really
needs to be cast wider than lib*.so* (and it's not like we'd need to
move the symlinks themselves anyway), it can't spread very far.
Certainly we shouldn't be cavalier about blowing up the size of / for
no reason, but we're talking a pretty small increment.  Compared to
the kernel debug symbols before they got moved, it's miniscule.


-- 
Matthew Fuller     (MF4839)   |  fullermd@over-yonder.net
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/
           On the Internet, nobody can hear you scream.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20151130112552.GZ30248>