Pieter,
yours was one of the pages I was looking at. I just overlooked the
suggestion to copy all the libraries and binaries as I have limited diskspace
right now.
I was pointed to a tarball of an old RedHat package called solemul, apparently
from the days when they supported SPARC.
This package includes a skeleton for /usr/gnemeul/solaris (including /dev) and
a list of files needed from Solaris. Using this basic file list, Solaris's
uname now executes it seems, but dies with "Illegal Instruction". This seems
to be par for any Solaris binary I try.
So I bit the bullet, increased my LVM volume and copied the entire /usr/lib
and /usr/bin from Solaris to my Linux machine. No change.
So far I've copied /usr/lib, /usr/bin, /sbin, /usr/sbin, /usr/platform from
Solaris. Anything else?
I guess I should mention that I'm copying from Solaris 8, if I haven't
already. Is Solaris 8 too new? I think I have a Solaris 7 and a few Solaris
2.6 machines left.
Pieter D.J. Krul wrote:
Jan Engelhardt wrote:
manhack:/usr/gnemul/solaris/bin# ldd ./uname
/usr/bin/ldd: line 117: ./uname: No such file or directory
I suppose you need the Solaris libraries too, including dynamic
linker. See output of `readelf -d uname`.
I tend to agree. All SunOS and Solaris binaries, libraries and devicefiles are by default expected
to exist in /usr/gnemul/sunos and/or /usr/gnemul/solaris.
I've scribbled a few things on this topic some time ago, which should have become a sort of
faq/howto at that time. You can find this on http://www.krul.cc/~pkrul/docs/solemu/
HTH
Pieter
--
/* wes hardin */
-
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html