From owner-freebsd-current@freebsd.org Tue Dec 1 06:11:47 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 157C1A3E9B3 for ; Tue, 1 Dec 2015 06:11:47 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: from mail-pa0-x229.google.com (mail-pa0-x229.google.com [IPv6:2607:f8b0:400e:c03::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DA47711CB; Tue, 1 Dec 2015 06:11:46 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: by pacdm15 with SMTP id dm15so210841862pac.3; Mon, 30 Nov 2015 22:11:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=pB3ctbSboBtU7hkE0I+M9yLmYXxLAdYBr2pHcMhz9CY=; b=BXS4hBwynwQt1sF0wNDjr64EIBOpUZc49S8IlHjAcwREO9jaG4xusogtEDY99Vgb+0 TkRnERKpsSAFjdz6/VTwrQSVBp84i+eRrm5Vg6iZVtkvlzpYUx0a7ZvFdYYFF4VVRU7J pnQiik1rpDVqu7yWzfiZcY3uZ9lwMgqZoAy+xTKOyXzlfxFLZPvnRHdFxgjYKI22+0Ab fO7e5EG3h47Q4vfQqQ2tx4PA38TudBo4cbnwH/lmy7KkjJ65o7IgT8RTGMlgcfzeJwny 54gKUV3k89fJBuQfKI8lb24WWPLhtfe8+pyWvvk6IwFpsyoSNtga3mD4OyEi6iH+Q/yD /tbw== X-Received: by 10.66.233.73 with SMTP id tu9mr97391667pac.52.1448950306501; Mon, 30 Nov 2015 22:11:46 -0800 (PST) Received: from ?IPv6:2601:601:800:126d:2802:e2ed:33ec:fa6a? ([2601:601:800:126d:2802:e2ed:33ec:fa6a]) by smtp.gmail.com with ESMTPSA id p86sm43692690pfi.42.2015.11.30.22.11.45 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 30 Nov 2015 22:11:45 -0800 (PST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Subject: Re: Shared object "libelf.so.2" not found, required by "libkvm.so.6" From: NGie Cooper In-Reply-To: <20151130181410.GN3448@kib.kiev.ua> Date: Mon, 30 Nov 2015 22:11:44 -0800 Cc: John Baldwin , "O. Hartmann" , Henry Hu , FreeBSD CURRENT Content-Transfer-Encoding: quoted-printable Message-Id: <81B1EAD1-DE7C-42DD-B959-A696FB80612C@gmail.com> 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> <20151130181410.GN3448@kib.kiev.ua> To: Konstantin Belousov X-Mailer: Apple Mail (2.2104) 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: Tue, 01 Dec 2015 06:11:47 -0000 > On Nov 30, 2015, at 10:14, Konstantin Belousov = wrote: >=20 > 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: >>>=20 >>>> On Nov 30, 2015, at 01:39, Konstantin Belousov = wrote: >>>=20 >>> ??? >>>=20 >>>> 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. >>>>=20 >>>> 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. >>>=20 >>> This patch should fix the problem in theory: = https://people.freebsd.org/~ngie/fix-libkvm-use-when-usr-and-root-split.pa= tch >>> Thanks, >>=20 >> Looks fine to me if kib@ is ok with it. >=20 > I do not have objections. Fix committed in r291566 =E2=80=94 thanks :)!