From owner-freebsd-current@freebsd.org Mon Nov 30 18:14:16 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 9E5ECA3D7DF for ; Mon, 30 Nov 2015 18:14:16 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 172051157; Mon, 30 Nov 2015 18:14:15 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from tom.home (kostik@localhost [127.0.0.1]) by kib.kiev.ua (8.15.2/8.15.2) with ESMTPS id tAUIEA9c043123 (version=TLSv1 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Mon, 30 Nov 2015 20:14:10 +0200 (EET) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua tAUIEA9c043123 Received: (from kostik@localhost) by tom.home (8.15.2/8.15.2/Submit) id tAUIEAk2042729; Mon, 30 Nov 2015 20:14:10 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Mon, 30 Nov 2015 20:14:10 +0200 From: Konstantin Belousov To: John Baldwin Cc: NGie Cooper , "O. Hartmann" , Henry Hu , FreeBSD CURRENT Subject: Re: Shared object "libelf.so.2" not found, required by "libkvm.so.6" Message-ID: <20151130181410.GN3448@kib.kiev.ua> References: <20151129210725.7baf95ee.ohartman@zedat.fu-berlin.de> <20151130093949.GH3448@kib.kiev.ua> <835C8EDF-C059-46F5-9143-8133B69F5F92@gmail.com> <1639772.qjkNgKOJT0@ralph.baldwin.cx> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1639772.qjkNgKOJT0@ralph.baldwin.cx> User-Agent: Mutt/1.5.24 (2015-08-30) X-Spam-Status: No, score=-2.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on tom.home 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 18:14:16 -0000 On Mon, Nov 30, 2015 at 09:49:00AM -0800, John Baldwin wrote: > On Monday, November 30, 2015 09:33:49 AM NGie Cooper wrote: > > > > > On Nov 30, 2015, at 01:39, Konstantin Belousov wrote: > > > > ??? > > > > > Just to explicitely state the obvious, the problem is that libkvm grown > > > the dependency on libelf after r291406, and libelf lives in /usr. libkvm > > > is used before /usr is mounted. > > > > > > 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. > > > > This patch should fix the problem in theory: https://people.freebsd.org/~ngie/fix-libkvm-use-when-usr-and-root-split.patch > > Thanks, > > Looks fine to me if kib@ is ok with it. I do not have objections.