Re: HELP! libelf.so: no such file or directory

From: Bryan Drewery <bdrewery_at_FreeBSD.org>
Date: Tue, 1 Dec 2015 21:23:56 -0800
On 12/1/2015 9:03 PM, O. Hartmann wrote:
> On Tue, 1 Dec 2015 14:51:04 -0800
> Bryan Drewery <bdrewery_at_FreeBSD.org> wrote:
> 
>> On 12/1/2015 2:46 PM, Bryan Drewery wrote:
>>> On 12/1/2015 2:38 PM, O. Hartmann wrote:  
>>>> Am Tue, 1 Dec 2015 23:31:45 +0100
>>>> "O. Hartmann" <ohartman_at_zedat.fu-berlin.de> schrieb:
>>>>  
>>>>>
>>>>> 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 ...
>>>>>
>>>>>
>>>>>
>>>>> oh   
>>>>
>>>> Great ... CURRENT, at revision 291620.
>>>>
>>>> [...]
>>>>  
>>>> ===> sys/boot/i386/boot0sio (all)  
>>>> --- all_subdir_libexec ---
>>>> make[4]: make[4]: don't know how to make /Versions.def. Stop
>>>>
>>>> make[4]: stopped in /usr/src/libexec/rtld-elf
>>>>  
>>>
>>> This is a mistake I just made. Fixing it.
>>>   
>>
>> Should be ok now after r291622.
>>
> 
> Buildworld fails again:
> 
> [...]
> rm -f .depend.wctomb_2_test GPATH GRTAGS GSYMS GTAGS
> --- io_test.cleandir ---
> --- cleandepend ---
> --- cleandir_subdir_usr.sbin ---
> --- cleanobj ---
> --- cleandir_subdir_rescue ---
> --- cleandepend_crunchdir_cp ---
> --- cleandepend ---
> --- cleandir_subdir_lib ---
> --- cleandir_subdir_libnandfs ---
> make[4]: "/usr/src/share/mk/bsd.libnames.mk" line 164: /usr/src/lib/libnandfs:
> Missing value for LIBNANDFS in bsd.libnames.mk.  Likely should be: LIBNANDFS?=
> ${DESTDIR}${LIBDIR}/libnandfs.a *** [cleandir_subdir_libnandfs] Error code 1
> [...]
> 

r291639 will fix that. It's non-default so did not come up in my testing.


-- 
Regards,
Bryan Drewery


Received on Wed Dec 02 2015 - 04:23:47 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:01 UTC