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

NGie Cooper yaneurabeya at gmail.com
Mon Nov 30 17:33:53 UTC 2015


> 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,
-NGie


More information about the freebsd-current mailing list