On Tue, May 01, 2001 at 06:16:41AM +0000, [EMAIL PROTECTED] wrote: > I have a Sun Ultra 10 running Debian-Sparc unstable tree, upgraded to kernel > 2.4.3. Everything is working fine except for SunOS/Solaris binary > compatibility. I have the kernel compiled with > > CONFIG_SUNOS_EMUL=y > CONFIG_SOLARIS_EMUL=y > > And I have followed the howto, and placed a complete library/include set in > /usr/gnemul/solaris, as well as a whole /etc dir: > > total 4 > drwxr-xr-x 3 root root 4096 Apr 26 05:19 solaris > lrwxrwxrwx 1 root root 19 Apr 26 05:42 sunos -> /usr/gnemul/solaris > > However, whenever I try to run a solaris binary, /any/ one, I get this (that > is a tar binary from a Solaris 2.6 box) : > > [EMAIL PROTECTED]:~$ ./tar > bash: ./tar: No such file or directory > [EMAIL PROTECTED]:~$
It can't find the Solaris dynamic linker, which needs to be in /lib (as ld.so or ld.so.1, can't remember). Also, to find the other libraries, you need to either set LD_LIBRARY_PATH, or put them in /usr/lib. You can also copy all the Solaris stuff to another directory and chroot to it. Ben -- -----------=======-=-======-=========-----------=====------------=-=------ / Ben Collins -- ...on that fantastic voyage... -- Debian GNU/Linux \ ` [EMAIL PROTECTED] -- [EMAIL PROTECTED] -- [EMAIL PROTECTED] ' `---=========------=======-------------=-=-----=-===-======-------=--=---'