Subject: Is ld.so changed? (Re: COMPAT_AOUT removal)
To: Frank van der Linden <fvdl@wasabisystems.com>
From: Kazushi (Jam) Marukawa <jam@pobox.com>
List: current-users
Date: 08/09/2000 05:30:18
Tonight, I built new kernel and user-land by using
yesterday's current (got through cvs). Then, I've gotten
this error whenever I execute old binaries.
jam@sou(p4)$ /usr/local/bin/less
/usr/libexec/ld.so: less: libcurses.so.2.2: Inappropriate file type or format
Here are other information. Maybe I need all of my old
libraries under /emul/aout. Am I correct? Could somebody
change ld.so to search under both /emul/aout and /?
jam@sou(p4)$ uname -a
NetBSD sou.nerv.org 1.5D NetBSD 1.5D (sou) #4: Tue Aug 8 16:39:11 CDT 2000
jam@sou.nerv.org:/usr/src/sys/arch/i386/compile/sou i386
jam@sou(p4)$ file /usr/local/bin/less
/usr/local/bin/less: NetBSD/i386 demand paged dynamically linked executable not stripped
jam@sou(p4)$ file /usr/lib/libcurses.so*
/usr/lib/libcurses.so: symbolic link to libcurses.so.3.6
/usr/lib/libcurses.so.2: symbolic link to libcurses.so.2.5
/usr/lib/libcurses.so.2.1: NetBSD/i386 demand paged shared library not stripped
/usr/lib/libcurses.so.2.2: NetBSD/i386 demand paged shared library not stripped
/usr/lib/libcurses.so.2.5: ELF 32-bit LSB shared object, Intel 80386, version 1, not stripped
/usr/lib/libcurses.so.3: symbolic link to libcurses.so.3.6
/usr/lib/libcurses.so.3.6: ELF 32-bit LSB shared object, Intel 80386, version 1, not stripped
Regards,
-- Kazushi
On Aug 7, 2:07, Frank van der Linden wrote:
> Subject: Re: COMPAT_AOUT removal
> On Mon, Aug 07, 2000 at 09:00:07AM +0900, Takahiro Kambe wrote:
> > Should I get ld.so from recently NetBSD 1.4.X? Or can I build ld.so
> > under 1.5_ALPHA ELF environment in easy?
>
> The change was only recently pulled up to the 1.4.x branch, so your
> ld.so binary is a bit too old. It isn't easy to build an a.out ld.so
> under an ELF environment, so that's why uuencoded versions of
> ld.so binaries built on 1.4.3 will be used.
>
> This is ugly, but it was the best solution available..
>
> - Frank
>-- End of excerpt from Frank van der Linden