[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Multilib support: running 32-bit binaries on 64-bit systems
From: |
Marius Bakke |
Subject: |
Re: Multilib support: running 32-bit binaries on 64-bit systems |
Date: |
Thu, 19 Apr 2018 17:34:06 +0200 |
User-agent: |
Notmuch/0.26.1 (https://notmuchmail.org) Emacs/25.3.1 (x86_64-pc-linux-gnu) |
Pierre Neidhardt <address@hidden> writes:
>> Does that make sense?
>
> Absolutely, but it gets trickier when trying to run a 32-bit executable
> which was not compiled on Guix.
>
> Any idea how to achieve that easily?
>
> The way I can think of for now is to run patchelf against the binary to
> change the dynamic linker path as well as the RPATH.
This is the best approach right now. I've done this for a couple
of...unsavory programs and it works okay.
One alternative would be to create a 32-bit profile, and set up
FHS-style symlinks for it (or a chroot). I've been thinking about
adding a "--fhs" argument to `guix environment --container`, but it's
still very much in the "dreaming" phase.
signature.asc
Description: PGP signature