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

Re: Solaris Binaries

On Tue, May 01, 2001 at 06:16:41AM +0000, mikec@infoleak.org 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
> 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) :
> mculbert@wintermute:~$ ./tar
> bash: ./tar: No such file or directory
> mculbert@wintermute:~$ 

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 Collins  --  ...on that fantastic voyage...  --  Debian GNU/Linux   \
`  bcollins@debian.org  --  bcollins@openldap.org  --  bcollins@linux.com  '

Reply to: