Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Nov 2015 10:04:59 -0800
From:      NGie Cooper <yaneurabeya@gmail.com>
To:        John Baldwin <jhb@freebsd.org>
Cc:        Konstantin Belousov <kostikbel@gmail.com>, "O. Hartmann" <ohartman@zedat.fu-berlin.de>, Henry Hu <henry.hu.sh@gmail.com>, FreeBSD CURRENT <freebsd-current@freebsd.org>
Subject:   Re: Shared object "libelf.so.2" not found, required by "libkvm.so.6"
Message-ID:  <47CD71DA-D2CB-4CB7-A347-0C8A52F0A64D@gmail.com>
In-Reply-To: <1639772.qjkNgKOJT0@ralph.baldwin.cx>
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>

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

> On Nov 30, 2015, at 09:49, John Baldwin <jhb@freebsd.org> wrote:
>=20
> On Monday, November 30, 2015 09:33:49 AM NGie Cooper wrote:
>>=20
>>> On Nov 30, 2015, at 01:39, Konstantin Belousov <kostikbel@gmail.com> =
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=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47CD71DA-D2CB-4CB7-A347-0C8A52F0A64D>