Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Nov 2015 09:49 -0800
From:      John Baldwin <jhb@freebsd.org>
To:        NGie Cooper <yaneurabeya@gmail.com>
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:  <1639772.qjkNgKOJT0@ralph.baldwin.cx>
In-Reply-To: <835C8EDF-C059-46F5-9143-8133B69F5F92@gmail.com>
References:  <20151129210725.7baf95ee.ohartman@zedat.fu-berlin.de> <20151130093949.GH3448@kib.kiev.ua> <835C8EDF-C059-46F5-9143-8133B69F5F92@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 g=
rown
> > the dependency on libelf after r291406, and libelf lives in /usr. l=
ibkvm
> > 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.o=
rg/~ngie/fix-libkvm-use-when-usr-and-root-split.patch
> Thanks,

Looks fine to me if kib@ is ok with it.

--=20
John Baldwin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1639772.qjkNgKOJT0>