Subject: Running Solaris/Sparc binaries
To: None <port-sparc@netbsd.org>
From: =?iso-8859-1?Q?Jeff=5FW?= <beaker@freeshell.org>
List: port-sparc
Date: 07/05/2005 21:35:48
Greetings Sparc fans,
I'm attempting to run the Solaris/Sparc SETI@Home/BOINC client on
my SS20.  I don't have a system running Solaris from which I could
snag shared libraries but I do have a Solaris 8 install disk.
Unfortunately, I'm unsure of which libraries I need or where on
the CD they might be located.  Looking through some of the archived
port-sparc posts I found a reference to an FTP server (run by Sun)
from which one could snag at least some of the core shared libs,
which I did:

#ls /emul/svr4/usr/lib
ld.so.1          libmp.so.1       nss_compat.so.1  nss_nis.so.1     straddr.so
libc.so.1        libmp.so.2       nss_dns.so.1     nss_nisplus.so.1 straddr.so.2
libdl.so.1       libnsl.so.1      nss_files.so.1   nss_user.so.1
libmp.so         libsocket.so.1   nss_ldap.so.1    nss_xfn.so.1

The BOINC binary is from http://boinc.berkeley.edu/download.php ;
I've got it in /emul/svr4/usr/bin but it doesn't run:

#/emul/svr4/usr/bin/boinc_4.19_sparc-sun-solaris2.7
/emul/svr4/usr/bin/boinc_4.19_sparc-sun-solaris2.7: Exec format
error. Binary file not executable.

(it's mode is 755 so it should be executable)

# file /emul/svr4/usr/bin/boinc_4.19_sparc-sun-solaris2.7
/emul/svr4/usr/bin/boinc_4.19_sparc-sun-solaris2.7: ELF 32-bit MSB
executable, SPARC, version 1 (SYSV), dynamically linked (uses shared
libs), not stripped

Does this look like I just need more libraries or something more?
The SETI site says the binary is for  "Solaris versions 7, 8, 9,
or 10 ; any SPARC processor".

Regards,
Jeff