From owner-freebsd-current@freebsd.org Mon Nov 30 17:33:53 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 19BD6A3D075 for ; Mon, 30 Nov 2015 17:33:53 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: from mail-pa0-x231.google.com (mail-pa0-x231.google.com [IPv6:2607:f8b0:400e:c03::231]) (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 DCC081A6F; Mon, 30 Nov 2015 17:33:52 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: by pabfh17 with SMTP id fh17so196750447pab.0; Mon, 30 Nov 2015 09:33:52 -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=9/64i7Sm7a5JytVYjDYvTP384vtrIQsnEo4y6kLOXPU=; b=ChrPUEA+HLs7PVNZd0fbs9YHcgifKYSQZHOal5Wnh+vBq025W1iArjvgePeWD19OTu 9UM2BfZQWgOz1Kt0BsM9tJzX75ccVY3f64OAlsPBILEMZmn64JwpcJ3gRlOger++PYkF F0QqMfH0BWPiDk9hmeXT++7cBxgO2czNjWiKCdEXnNXvpeXZihIigqULpO6mFIjyFPp7 Z1OO3PdBzHhh3+esqycn3VMtdq8pLiRWi8MCypvuXRApI2/Dl2RqZTtevUsi/Am6yO82 9eol+qosj/wqWQqhmXypay0WtXVUV5c12jwBibwZ/pZNzaSxNxnT6778+mVQT/NL5OTA o+fg== X-Received: by 10.66.55.72 with SMTP id q8mr92658267pap.136.1448904832463; Mon, 30 Nov 2015 09:33:52 -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 9sm52513996pfn.51.2015.11.30.09.33.50 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 30 Nov 2015 09:33:51 -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: <20151130093949.GH3448@kib.kiev.ua> Date: Mon, 30 Nov 2015 09:33:49 -0800 Cc: "O. Hartmann" , Henry Hu , FreeBSD CURRENT , jhb@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <835C8EDF-C059-46F5-9143-8133B69F5F92@gmail.com> 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> 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: Mon, 30 Nov 2015 17:33:53 -0000 > On Nov 30, 2015, at 01:39, Konstantin Belousov = wrote: =E2=80=A6 > 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. This patch should fix the problem in theory: = https://people.freebsd.org/~ngie/fix-libkvm-use-when-usr-and-root-split.pa= tch Thanks, -NGie=