From: Wes Hardin <wes.hardin@dalsemi.com>
To: sparclinux@vger.kernel.org
Subject: Re: SunOS/Solaris Binary Emulation
Date: Thu, 06 Dec 2007 18:15:21 +0000 [thread overview]
Message-ID: <47583C39.8050906@dalsemi.com> (raw)
In-Reply-To: <475825D7.1090209@dalsemi.com>
assuming I'm reading the output of readelf correctly, the only shared library
mentioned is libc.so.1
manhack:/usr/gnemul/solaris# readelf -d bin/uname
Dynamic section at offset 0x14b8 contains 22 entries:
Tag Type Name/Value
0x00000001 (NEEDED) Shared library: [libc.so.1]
which is already copied over.
manhack:/usr/gnemul/solaris# ls lib/libc.so.1
lib/libc.so.1
Checksums match:
manhack:/usr/gnemul/solaris# cksum lib/libc.so.1
1414919188 1158072 lib/libc.so.1
whardin@cds3 / $ cksum /lib/libc.so.1
1414919188 1158072 /lib/libc.so.1
--
/* wes hardin */
Jan Engelhardt wrote:
> On Dec 6 2007 10:39, Wes Hardin wrote:
>> manhack:/usr/gnemul/solaris/bin# file ./uname
>> ./uname: ELF 32-bit MSB executable, SPARC, version 1 (SYSV), dynamically linked
>> (uses shared libs), stripped
>> manhack:/usr/gnemul/solaris/bin# ./uname
>> -bash: ./uname: No such file or directory
>>
>> I don't know if the Linux ldd is supposed to work on these binaries, but it
>> doesn't:
>>
>> 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`.
> -
> To unsubscribe from this list: send the line "unsubscribe sparclinux" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2007-12-06 18:15 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-06 16:39 SunOS/Solaris Binary Emulation Wes Hardin
2007-12-06 17:32 ` Jan Engelhardt
2007-12-06 18:15 ` Wes Hardin [this message]
2007-12-06 18:38 ` Pieter D.J. Krul
2007-12-06 19:57 ` Wes Hardin
2007-12-06 22:31 ` Jan Engelhardt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=47583C39.8050906@dalsemi.com \
--to=wes.hardin@dalsemi.com \
--cc=sparclinux@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.