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

John Baldwin jhb at freebsd.org
Mon Nov 30 17:51:06 UTC 2015


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.

-- 
John Baldwin


More information about the freebsd-current mailing list