From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pierre Neidhardt Subject: Re: LIBRARY_PATH and foreign binaries: error while loading shared libraries Date: Wed, 18 Apr 2018 14:19:57 +0530 Message-ID: <874lk86gqy.fsf@gmail.com> References: <87bmeh59yq.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49625) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f8in0-0002jR-Ey for help-guix@gnu.org; Wed, 18 Apr 2018 04:50:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f8imw-0007Zg-PW for help-guix@gnu.org; Wed, 18 Apr 2018 04:50:06 -0400 Received: from mail-it0-x22e.google.com ([2607:f8b0:4001:c0b::22e]:50309) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f8imw-0007ZS-Jk for help-guix@gnu.org; Wed, 18 Apr 2018 04:50:02 -0400 Received: by mail-it0-x22e.google.com with SMTP id r19-v6so1557166itc.0 for ; Wed, 18 Apr 2018 01:50:02 -0700 (PDT) Received: from mimimi ([103.61.255.46]) by smtp.gmail.com with ESMTPSA id 72-v6sm540004itg.36.2018.04.18.01.50.00 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 18 Apr 2018 01:50:01 -0700 (PDT) In-reply-to: <87bmeh59yq.fsf@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: help-guix --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Pierre Neidhardt writes: > I can fix it with > >> patchelf --set-interpreter "$(realpath "$(which sh)")" /path/to/foreign/= binary Copy/paste mistake, the correct command is > patchelf --set-interpreter "$(patchelf --print-interpreter "$(realpath "$= (which sh)")")" /path/to/foreign/binary =2D-=20 Pierre Neidhardt --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAlrXBrUACgkQm9z0l6S7 zH9LQQgAqeCWp8R3K8CPQJLS0dcy1HzGqY5629lEOxbYRshwrm/Yrb8V9n/RC3dj yGAdwUa0dohJfrpTGpmKSwUVWTuQ/KRbI9tAercCbN0e3Zu7LTN57KAMBDCTPmbD jILfEGlmpp8bsQA5zN5Fka9btOuh87dxyWk/L/z2iE1Ysokd4v0CMbcNw9s5ACOq k+GihtVjElDUuog3BR84nodHSC3OxOp+BaAN5uYfE8yWGibj+cAUwPnuGTsv5GfD ZZAN5nDF8QVyeQZbiXEuVMnA6KcZf8z4pwGfJ6hmA6kTji6LXZQWghalwcRcKZoA jplsmz95eZWwSqdrPjeEImERbYbFbA== =bqRv -----END PGP SIGNATURE----- --=-=-=--