Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Nov 2015 09:33:49 -0800
From:      NGie Cooper <yaneurabeya@gmail.com>
To:        Konstantin Belousov <kostikbel@gmail.com>
Cc:        "O. Hartmann" <ohartman@zedat.fu-berlin.de>, Henry Hu <henry.hu.sh@gmail.com>, FreeBSD CURRENT <freebsd-current@freebsd.org>, jhb@freebsd.org
Subject:   Re: Shared object "libelf.so.2" not found, required by "libkvm.so.6"
Message-ID:  <835C8EDF-C059-46F5-9143-8133B69F5F92@gmail.com>
In-Reply-To: <20151130093949.GH3448@kib.kiev.ua>
References:  <20151129210725.7baf95ee.ohartman@zedat.fu-berlin.de> <CAEJt7hb_45a-XOddf8QLWcLpYLTKvB65Ci2O928wPrTvJTo0%2BQ@mail.gmail.com> <20151130080759.GG3448@kib.kiev.ua> <20151130100446.1af41a37.ohartman@zedat.fu-berlin.de> <20151130093949.GH3448@kib.kiev.ua>

next in thread | previous in thread | raw e-mail | index | archive | help

> On Nov 30, 2015, at 01:39, Konstantin Belousov <kostikbel@gmail.com> =
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=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?835C8EDF-C059-46F5-9143-8133B69F5F92>