Shared object "libelf.so.2" not found, required by "libkvm.so.6"
NGie Cooper
yaneurabeya at gmail.com
Tue Dec 1 06:11:47 UTC 2015
> On Nov 30, 2015, at 10:14, Konstantin Belousov <kostikbel at gmail.com> wrote:
>
> On Mon, Nov 30, 2015 at 09:49:00AM -0800, John Baldwin wrote:
>> On Monday, November 30, 2015 09:33:49 AM NGie Cooper wrote:
>>>
>>>> On Nov 30, 2015, at 01:39, Konstantin Belousov <kostikbel at gmail.com> wrote:
>>>
>>> ???
>>>
>>>> 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.
>>>>
>>>> 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.patch
>>> Thanks,
>>
>> Looks fine to me if kib@ is ok with it.
>
> I do not have objections.
Fix committed in r291566 — thanks :)!
More information about the freebsd-current
mailing list