Subject: Re: SunOS 4 shared libraries from Solaris 7 cdrom
To: None <eeh@one-o.com>
From: Greg Earle <earle@isolar.DynDNS.ORG>
List: port-sparc
Date: 11/11/1999 16:23:38
>> Making note of the various messages lately about SunOS 4 shared libraries,
>> I took a look at my Solaris 7 CD with the theory in mind that NetBSD seems
>> to emulate nearly everyone.  It appears to contain some of the needed
>> libraries, especially in the SUNWbcp package.  There is even a ld.so and
>> ld.so.1 loader in usr/lib.  However, it drops core with an unimplemented
>> system call.  The ktrace is:
> 
> You do know that Solaris is SVR4/ELF, not BSD/a.out, right?

You do know that "SUNWbcp" is the "SunOS 4.x Binary Compatibility" package,
right?  (C'mon Eduardo)

Two things about SUNWbcp:

Solaris_2.6_Hardware:5/98_host:1:112 [/usr/4lib] # ls -l libc.*1.9 libdl*
-rwxr-xr-x   1 bin      552860 Jan 15  1998 libc.so.1.9*
lrwxrwxrwx   1 root         17 Apr 22  1998 libdl.so.1.0 -> ../lib/libdl.so.1*

(1) I don't know the origins of this 4.x libc.so.1.9 - it's certainly not the
    stock libc.so.1.9 that comes with 4.1.4 (which is 524288 bytes in size).

(2) The "libdl.so.1.0" is, interestingly enough, just a symlink to the normal
    Solaris libdl.so.1 in /usr/lib.  So I don't think this is good enough
    (i.e., grabbing bits from the Solaris 7 CD), if this is still the case -
    there's no SunOS 4.1.x libdl.so.1.0 library available.

	- Greg