From owner-freebsd-current@freebsd.org Mon Nov 30 11:26:00 2015 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B7424A24C5B for ; Mon, 30 Nov 2015 11:26:00 +0000 (UTC) (envelope-from fullermd@over-yonder.net) Received: from mail.infocus-llc.com (mail.infocus-llc.com [199.15.120.13]) (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 921881F9B; Mon, 30 Nov 2015 11:25:59 +0000 (UTC) (envelope-from fullermd@over-yonder.net) Received: from draco.over-yonder.net (c-75-65-60-66.hsd1.ms.comcast.net [75.65.60.66]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.tarragon.infocus-llc.com (Postfix) with ESMTPSA id 3p8PPs1DfYz1BX; Mon, 30 Nov 2015 05:25:53 -0600 (CST) Received: by draco.over-yonder.net (Postfix, from userid 100) id 3p8PPr2rcKz2CT; Mon, 30 Nov 2015 05:25:52 -0600 (CST) Date: Mon, 30 Nov 2015 05:25:52 -0600 From: "Matthew D. Fuller" To: Konstantin Belousov Cc: FreeBSD CURRENT , jhb@freebsd.org Subject: Re: Shared object "libelf.so.2" not found, required by "libkvm.so.6" Message-ID: <20151130112552.GZ30248@over-yonder.net> References: <20151129210725.7baf95ee.ohartman@zedat.fu-berlin.de> <20151130080759.GG3448@kib.kiev.ua> <20151130100446.1af41a37.ohartman@zedat.fu-berlin.de> <20151130093949.GH3448@kib.kiev.ua> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20151130093949.GH3448@kib.kiev.ua> X-Editor: vi X-OS: FreeBSD X-Virus-Scanned: clamav-milter 0.98.7 at mail.tarragon.infocus-llc.com X-Virus-Status: Clean User-Agent: Mutt/1.5.24-fullermd.4 (2015-08-30) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Nov 2015 11:26:00 -0000 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.