HELP! libelf.so: no such file or directory

Bryan Drewery bdrewery at FreeBSD.org
Tue Dec 1 22:45:59 UTC 2015


On 12/1/2015 2:31 PM, O. Hartmann wrote:
> 
> Just a few moments ago, I installed via buildworld/buildkernel a new CURRENT, then did
> "make delete-old-libs" and by that, libelf.so.2 got killed!
> 
> After that, I'm unable to build any world to salvage the problem! Moments later, I did
> the same procedure on other CURRENT - but in the meanwhile, the obscure deleteing of
> libelf.so.2 didn't happen again when issue make delete-old-libs. What is that?
> 
> More important than to know what shit happened is: how to repair the system? How's
> FreeBSD source system to bootstrap itself again to provide libelf.so.2? It seems, that
> libelf.so.2 is necessary (nm, for instance) or linker scripts to install lib. Somehow
> this is weird ... and leave those who got trapped by someone eleses mistakes floating
> dead in the water ...
> 
> 
> 

Just copy it from the obj directory or 'make -C lib/libelf install'.
Several bugs contributed to this.


-- 
Regards,
Bryan Drewery

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20151201/cc8cc316/attachment.bin>


More information about the freebsd-current mailing list