Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 May 2023 23:18:46 -0700
From:      Kevin Oberman <rkoberman@gmail.com>
To:        "freebsd-questions@freebsd.org" <questions@freebsd.org>
Subject:   System reports libelf.so.1 finds libedit.so.8 not proper layout?
Message-ID:  <CAN6yY1vCc23%2BKi9FHb2WVosh0yd707Oj-g1U2WthiG2egz4JDA@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
--000000000000360d1605fc423f8c
Content-Type: text/plain; charset="UTF-8"

My month-old server has died with a baffling error. It boots to the prompt
to enter the shell (default: /bin/sh). Entering anything returns:
libelf.so.1:  /usr/lib32/libedit.20.8: unsupported file layout

As there is no way to enter any command without a shell, I can't proceed.
This baffles me.
1. Why is libelf.so.1 being used? I thought that libelf.so.2 was used these
days. The only copy of libelf.s0.1 is in /usr/local/lib.
2. /usr/lib32/.so.8? Why is it loading the 32-bin library?

Can anyone give me a  clue as to what might be going on? Can it be fixed.
I'll be booting the live OS from the install thumb drive tomorrow in hopes
I can recover the system, but an explanation of what is going on might help
getting this working.
-- 
Kevin Oberman, Part time kid herder and retired Network Engineer
E-mail: rkoberman@gmail.com
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683

--000000000000360d1605fc423f8c
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:tahoma,s=
ans-serif;font-size:small">My month-old server has died with a baffling err=
or. It boots to the prompt to enter the shell (default: /bin/sh). Entering =
anything returns:</div><div class=3D"gmail_default" style=3D"font-family:ta=
homa,sans-serif;font-size:small">libelf.so.1:=C2=A0 /usr/lib32/libedit.20.8=
: unsupported file layout</div><div class=3D"gmail_default" style=3D"font-f=
amily:tahoma,sans-serif;font-size:small"><br></div><div class=3D"gmail_defa=
ult" style=3D"font-family:tahoma,sans-serif;font-size:small">As there is no=
 way to enter any command without a shell, I can&#39;t proceed. This baffle=
s me.</div><div class=3D"gmail_default" style=3D"font-family:tahoma,sans-se=
rif;font-size:small">1. Why is libelf.so.1 being used? I thought that libel=
f.so.2 was used these days. The only copy of libelf.s0.1 is in /usr/local/l=
ib.</div><div class=3D"gmail_default" style=3D"font-family:tahoma,sans-seri=
f;font-size:small">2. /usr/lib32/.so.8? Why is it loading the 32-bin librar=
y?<br clear=3D"all"></div><div><br></div><div><div style=3D"font-family:tah=
oma,sans-serif;font-size:small" class=3D"gmail_default">Can anyone give me =
a=C2=A0 clue as to what might be going on? Can it be fixed. I&#39;ll be boo=
ting the live OS from the install thumb drive tomorrow in hopes I can recov=
er the system, but an explanation of what is going on might help getting th=
is working.<br></div></div><span class=3D"gmail_signature_prefix">-- </span=
><br><div dir=3D"ltr" class=3D"gmail_signature" data-smartmail=3D"gmail_sig=
nature"><div dir=3D"ltr"><div><div dir=3D"ltr"><div><div dir=3D"ltr"><div><=
div dir=3D"ltr">Kevin Oberman, Part time kid herder and retired Network Eng=
ineer<br>E-mail: <a href=3D"mailto:rkoberman@gmail.com" target=3D"_blank">r=
koberman@gmail.com</a><br></div><div>PGP Fingerprint: D03FB98AFA78E3B78C169=
4B318AB39EF1B055683</div></div></div></div></div></div></div></div></div>

--000000000000360d1605fc423f8c--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN6yY1vCc23%2BKi9FHb2WVosh0yd707Oj-g1U2WthiG2egz4JDA>