statically-built qemu-[arch] on Fedora

Itamar Reis Peixoto itamar at ispbrasil.com.br
Wed Nov 23 18:36:52 UTC 2011


On Wed, Nov 23, 2011 at 12:51 AM, Mr Dash Four
<mr.dash.four at googlemail.com> wrote:
> Is it possible to get/compile/build static qemu-[arch] similar to the qemu-user-static in Debian?
>
> I am making use of binfmt_misc and need to execute statically built qemu-[arch]. Using the "standard" qemu-[arch] won't work because I am executing this in a chrooted environment where all the libraries qemu needs to link to are outside of the chroot.
>
> I tried to use the qemu source rpm in order to build it (using the --static ./configure option), but unfortunately I can't do it - the .spec file is created in such a way that it cannot be easily adapted for building statically linked qemu executables. Any help with this would be much appreciated, thanks!
> --
> users mailing list
> users at lists.fedoraproject.org
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
>

have you tried ldd on it ?  ldd will tell what you need to copy into chroot.

-- 
------------

Itamar Reis Peixoto
msn, google talk: itamar at ispbrasil.com.br
+55 11 4063 5033 (FIXO SP)
+55 34 9158 9329 (TIM)
+55 34 8806 3989 (OI)
+55 34 3221 8599 (FIXO MG)


More information about the users mailing list