Shared object "libelf.so.2" not found, required by "libkvm.so.6"

NGie Cooper yaneurabeya at gmail.com
Mon Nov 30 18:05:04 UTC 2015


> On Nov 30, 2015, at 09:49, John Baldwin <jhb at freebsd.org> 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’ll run the patch through make tinderbox on ref11-amd64.
Thanks!
-NGie


More information about the freebsd-current mailing list