Re: a.out binaries under NetBSD 1.6
[email protected] (Stefan Wuerthner) Thu, 12 Sep 2002 00:19:33 +0200
| Newsgroups | gmane.os.netbsd.ports.arm32 |
|---|---|
| Message-ID | <[email protected]> |
In message <[email protected]> Richard Earnshaw <[email protected]> wrote: > > > I just found that EXEC_AOUT is indeed already configured in std.netwinder... > > > > Nevertheless, a.out binaries still do not work. > > > > To come back to my example, ncftp2, I now have the relevant library in the > > path /emul/aout/usr/lib/, but get the same error as above. > > > > Are there any other 'secrets' involved? > > > > You may also need the following in /emul/aout/etc/ld.so.conf (at least, > that is what my cats box has): > > /usr/pkg/lib > /usr/X11R6/lib > /usr/local/lib > This is available. > Also, you should still be able to use ldd on the executable. For example, > one a.out legacy binary I have reports: > > $ ldd gdb > gdb: > -ltermlib.0 => /emul/aout//usr/lib/libtermlib.so.0.5 (0x2018f000) > -lm.0 => /emul/aout//usr/lib/libm.so.0.1 (0x20192000) > -lc.12 => /emul/aout//usr/lib/libc.so.12.81 (0x201b7000) > I get the following result: netwinder-rm: {21} ldd /usr/pkg/bin/ncftp2 /usr/pkg/bin/ncftp2: -lposix.0 => not found (0x0) -lc.12 => /usr/lib/libc.so.12.62.1 (0x2004c000) Stefan -- ----------------------------------------------------------------------------- Stefan Wuerthner web http://wuerthner.dyndns.org -----------------------------------------------------------------------------