Subject: Re: FreeBSD ELF
To: None <current-users@netbsd.org>
From: Peter Seebach <seebs@plethora.net>
List: current-users
Date: 11/26/2000 13:00:24
In message <Pine.NEB.4.21.0011261239240.417-100000@server.int.duh.org>, Todd Vi
erling writes:
>You're probably missing the ELF version of libc.

Seems plausible.


>You can't mix and match ELF and a.out libraries in /emul/freebsd/usr/lib.  
>If you want 2.x a.out libraries to coexist with 3.x+ ELF libraries, you need
>the newer a.out ld.so that FreeBSD ships in 3.x+, and the a.out libraries
>move into /emul/freebsd/usr/lib/compat/aout/....

Okayeee

>You should strip /emul/freebsd entirely, and get the libraries from an ELF
>FreeBSD system and/or the FreeBSD base sets, and for a.out compatibility,
>get the compat2* FreeBSD release sets from a 3.x+ distribution (these
>include the compatibility ld.so and the libraries moved to
>usr/lib/compat/aout).

Okay, I've copied pretty much all of /usr/lib, and both of the ld.so's, from
a 4.1.

I have a
/usr/pkg/emul/freebsd/usr/lib/compat/libc.so.3

but:
/usr/libexec/ld-elf.so.1: Shared object "libc.so.3" not found

-s