Subject: Re: svr4 emulation (LONG)
To: None <greywolf@starwolf.com, greywolf@captech.com>
From: Arne Henrik Juul <arnej@stud.math.ntnu.no>
List: port-sparc
Date: 05/10/1997 04:17:53
From: Grey Wolf <greywolf@captech.com>
Subject: svr4 emulation (LONG)
Date: Mon, 5 May 1997 23:58:17 -0700 (PDT)
> I'm trying to run netscrape for solaris because netscrape for
> sunos is unreliable (to say the least).
> 
> Solaris says:
> 
> netscape.d301g:  ELF 32-bit MSB executable SPARC Version 1, dynamically
> linked, stripped

I'm running NetBSD 1.2 on an IPX, with the same netscape as on my
Solaris boxes (which run 5.4 mostly with some 5.5).

I can't seem to make ldd on NetBSD work, but on solaris it says:

romberg:~$ ldd /store/bin/netscape.exe 
        libXm.so.3 =>    /usr/dt/lib/libXm.so.3
        libXt.so.4 =>    /usr/openwin/lib/libXt.so.4
        libXmu.so.4 =>   /usr/openwin/lib/libXmu.so.4
        libXext.so.0 =>  /usr/openwin/lib/libXext.so.0
        libX11.so.4 =>   /usr/openwin/lib/libX11.so.4
        libsocket.so.1 =>        /usr/lib/libsocket.so.1
        libnsl.so.1 =>   /usr/lib/libnsl.so.1
        libdl.so.1 =>    /usr/lib/libdl.so.1
        libresolv.so.1 =>        /usr/lib/libresolv.so.1
        libm.so.1 =>     /usr/lib/libm.so.1
        libc.so.1 =>     /usr/lib/libc.so.1
        libw.so.1 =>     /usr/lib/libw.so.1
        libintl.so.1 =>  /usr/lib/libintl.so.1

This is netscape 3.01 gold BTW, I think it's from
navigator/gold/3.01/unix/netscape-v301-export.sparc-sun-solaris2.4.tar.gz
but I must confess I'm not 100% sure.  You should probably also
make sure you know that version of Netscape you're actually running
to make it easier for others to reproduce your setting.

It works just fine on my NetBSD box (well, as fine as netscape ever
works that is - it takes ages to load but is snappy enough when it's
actually going).

Here's part of the ktrace from starting the binary, just the
successful NAMI operations:

 14595 netscape.exe@sun NAMI  "/emul/svr4/usr/lib/libXm.so.3"
 14595 netscape.exe@sun NAMI  "/dev/zero"
 14595 netscape.exe@sun NAMI  "/emul/svr4/usr/openwin/lib/libXt.so.4"
 14595 netscape.exe@sun NAMI  "/emul/svr4/usr/openwin/lib/libXmu.so.4"
 14595 netscape.exe@sun NAMI  "/emul/svr4/usr/openwin/lib/libXext.so.0"
 14595 netscape.exe@sun NAMI  "/emul/svr4/usr/openwin/lib/libX11.so.4"
 14595 netscape.exe@sun NAMI  "/emul/svr4/usr/lib/libsocket.so.1"
 14595 netscape.exe@sun NAMI  "/emul/svr4/usr/lib/libnsl.so.1"
 14595 netscape.exe@sun NAMI  "/emul/svr4/usr/lib/libdl.so.1"
 14595 netscape.exe@sun NAMI  "/emul/svr4/usr/lib/libresolv.so.1"
 14595 netscape.exe@sun NAMI  "/emul/svr4/usr/lib/libm.so.1"
 14595 netscape.exe@sun NAMI  "/emul/svr4/usr/lib/libc.so.1"
 14595 netscape.exe@sun NAMI  "/emul/svr4/usr/lib/libw.so.1"
 14595 netscape.exe@sun NAMI  "/emul/svr4/usr/lib/libintl.so.1"
 14595 netscape.exe@sun NAMI  "/dev/zero"
 14595 netscape.exe@sun NAMI  "/dev/null"
 14595 netscape.exe@sun NAMI  "/dev/null"
 14595 netscape.exe@sun NAMI  "/dev/null"
 14595 netscape.exe@sun NAMI  "/emul/svr4/etc/netconfig"
 14595 netscape.exe@sun NAMI  "/emul/svr4/etc/nsswitch.conf"
 14595 netscape.exe@sun NAMI  "/emul/svr4/usr/lib/nss_dns.so.1"
 14595 netscape.exe@sun NAMI  "/emul/svr4/dev/udp"
 14595 netscape.exe@sun NAMI  "/emul/svr4/etc/resolv.conf"
 14595 netscape.exe@sun NAMI  "/emul/svr4/dev/udp"
 14595 netscape.exe@sun NAMI  "/emul/svr4/dev/udp"
 14595 netscape.exe@sun NAMI  "/emul/svr4/dev/udp"
 14595 netscape.exe@sun NAMI  "/emul/svr4/dev/tcp"
 14595 netscape.exe@sun NAMI  "/home/romberg/e/arnej/.Xauthority"
 14595 netscape.exe@sun NAMI  "/store/lib/X11/app-defaults/Netscape"
 14595 netscape.exe@sun NAMI  "/emul/svr4/usr/openwin/lib/XKeysymDB"
 14595 netscape.exe@sun NAMI  "/emul/svr4/dev/udp"
 14595 netscape.exe@sun NAMI  "/emul/svr4/dev/udp"
 14595 netscape.exe@sun NAMI  "/emul/svr4/dev/udp"
 14595 netscape.exe@sun NAMI  "/emul/svr4/usr/lib/nss_files.so.1"
 14595 netscape.exe@sun NAMI  "/etc/passwd"
 14595 netscape.exe@sun NAMI  "/emul/svr4/usr/lib/nss_nis.so.1"
 14595 netscape.exe@sun NAMI  "/dev/zero"
 14595 netscape.exe@sun NAMI  "/emul/svr4/usr/lib/straddr.so"
 14595 netscape.exe@sun NAMI  "/emul/svr4/dev/ticotsord"
 14595 netscape.exe@sun NAMI  "/etc/passwd"
 14595 netscape.exe@sun NAMI  "/emul/svr4/dev/ticotsord"
 14595 netscape.exe@sun NAMI  "/etc/passwd"

Hope this is somewhat helpful.

  -  Arne H. J.