From owner-freebsd-current@freebsd.org Mon Nov 30 18:05:04 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 00D62A3D5B9 for ; Mon, 30 Nov 2015 18:05:04 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: from mail-pa0-x235.google.com (mail-pa0-x235.google.com [IPv6:2607:f8b0:400e:c03::235]) (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 C85D41992; Mon, 30 Nov 2015 18:05:03 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: by pabfh17 with SMTP id fh17so197567507pab.0; Mon, 30 Nov 2015 10:05:03 -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=dcXzCPtM8HrcdqrhJ7zyt1rE32aj/pKMgo8kaNe+tTU=; b=atU384cl3x0D4LKM3es7vOynmo8vsochDcRZbWAs/O9paGpNYMtodrhLTC3ybzkKHh Um+KcScosLzjC0G6D1kSy+yS0cK6GJzc2zzNW+nAeddQ+2+tRoup3UTqFseMXVINhi/a OOSAB72Eg07XqyHQsac7Kmtmg0G4Y9QXd7ePsnn39+yMNxck9eu7Fbjm112TJ83M/wD5 2Tncu00aCIVBUl/gtP0YszuuvZdt38A4tT5M2ANltG0o4NX8NCOGGRAsIEyjlUS3eEtE 8KAQhHfR4WwcVMsw/iCFTE5j/nG45qPCWi9QWOSE6KTNkA9Z+B3Q16M3XGixaIZ8JTTB KbmA== X-Received: by 10.67.5.98 with SMTP id cl2mr7297590pad.157.1448906703369; Mon, 30 Nov 2015 10:05:03 -0800 (PST) Received: from [192.168.20.7] (c-24-16-212-205.hsd1.wa.comcast.net. [24.16.212.205]) by smtp.gmail.com with ESMTPSA id n16sm52614428pfa.53.2015.11.30.10.05.00 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 30 Nov 2015 10:05:01 -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: <1639772.qjkNgKOJT0@ralph.baldwin.cx> Date: Mon, 30 Nov 2015 10:04:59 -0800 Cc: Konstantin Belousov , "O. Hartmann" , Henry Hu , FreeBSD CURRENT Content-Transfer-Encoding: quoted-printable Message-Id: <47CD71DA-D2CB-4CB7-A347-0C8A52F0A64D@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> To: John Baldwin 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: Mon, 30 Nov 2015 18:05:04 -0000 > On Nov 30, 2015, at 09:49, John Baldwin wrote: >=20 > On Monday, November 30, 2015 09:33:49 AM NGie Cooper wrote: >>=20 >>> On Nov 30, 2015, at 01:39, Konstantin Belousov = wrote: >>=20 >> =E2=80=A6 >>=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. I=E2=80=99ll run the patch through make tinderbox on ref11-amd64. Thanks! -NGie=