[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Solaris Emulation How?



"Bob Meader" <bob@cci.net> writes:

> I coupled the listed solaris shared libs to /usr/gnemul/sunos/usr/lib
                                                          ^^^^^
                                                     should be solaris
> and the solaris version of 'bash' to /usr/gnemul/sunos/usr/bin .
> I changed to directory /usr/gnemul/sunos/usr/bin and
> tried to execute the solaris binary bash via ./bash but no go.

You don't need to run the Solaris shell, but that should work.  I only
have Solaris 6 stuff hanging around on this box, but that works:

[fx@albion fx]$ uname -a
Linux albion.dl.ac.uk 2.4.26-sparc64 #1 Sun Jun 20 02:39:17 PDT 2004 sparc64 GNU/Linux
[fx@albion fx]$ LD_LIBRARY_PATH=/mnt/solaris/usr/lib ldd /mnt/solaris/usr/bin/uname 
        libc.so.1 =>     /mnt/solaris/usr/lib/libc.so.1
        libdl.so.1 =>    /mnt/solaris/usr/lib/libdl.so.1
[fx@albion fx]$ /mnt/solaris/usr/bin/uname -a
SunOS albion 5.6 Generic sun4u sparc SUNW,Ultra-5_10
[fx@albion fx]$ /mnt/solaris/usr/bin/sh
couldn't set locale correctly
[\u@\h \W]\$ uname -a
Linux albion.dl.ac.uk 2.4.26-sparc64 #1 Sun Jun 20 02:39:17 PDT 2004 sparc64 GNU/Linux
[\u@\h \W]\$ /mnt/solaris/usr/bin/uname -a
SunOS albion 5.6 Generic sun4u sparc SUNW,Ultra-5_10



Reply to: