qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Peter Maydell <peter.maydell@linaro.org>
To: wj193102 <wj193102@163.com>
Cc: QEMU Developers <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] qemu3.0.0: Linux on non x86 CPUs run Wine
Date: Tue, 30 Oct 2018 12:43:57 +0000	[thread overview]
Message-ID: <CAFEAcA8zLbcUAM5OsjP3TL1eLDR3KbX=fOakx_JkB1RYgq41iQ@mail.gmail.com> (raw)
In-Reply-To: <1e1a8483.155c9.166c4e17888.Coremail.wj193102@163.com>

On 30 October 2018 at 12:10, wj193102 <wj193102@163.com> wrote:
> That is my fault. I don't run the *.sh file. I copy the file "/bin/ls" from
> the Linux on x86 CPUs to the Linux on non X86 CPUs. I put the file in the
> new created directory, such as "/home/admin/user/test/".
> Then I run the executable file,using "qemu-i386 ./ls", I get the following
> error: "./ls: error while loading shared libraries: libselinux.so.1: cannot
> open shared object file: No such file or directory."
> How can I resolve this  problem?

This is because you need not just the guest executable, but
all the DLLs, data files and other things it requires.
The easiest way to set this up is to use a chroot. There
should be some tutorials on the web that you can look for
to tell you how to set this up.

thanks
-- PMM

      reply	other threads:[~2018-10-30 12:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-30  2:16 [Qemu-devel] qemu3.0.0: Linux on non x86 CPUs run Wine wj193102
2018-10-30  9:33 ` Peter Maydell
2018-10-30 12:10   ` wj193102
2018-10-30 12:43     ` Peter Maydell [this message]

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='CAFEAcA8zLbcUAM5OsjP3TL1eLDR3KbX=fOakx_JkB1RYgq41iQ@mail.gmail.com' \
    --to=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=wj193102@163.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).