From unknown Sun Jun 22 08:10:59 2025 X-Loop: help-debbugs@gnu.org Subject: bug#32995: Executing pre-compiled binaries Resent-From: Brett Gilio Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 09 Oct 2018 04:42:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 32995 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 32995@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15390600699673 (code B ref -1); Tue, 09 Oct 2018 04:42:01 +0000 Received: (at submit) by debbugs.gnu.org; 9 Oct 2018 04:41:09 +0000 Received: from localhost ([127.0.0.1]:41078 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g9jpV-0002Vx-HH for submit@debbugs.gnu.org; Tue, 09 Oct 2018 00:41:09 -0400 Received: from eggs.gnu.org ([208.118.235.92]:56942) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g9jpT-0002Vk-Uo for submit@debbugs.gnu.org; Tue, 09 Oct 2018 00:41:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g9jpN-0005PC-L6 for submit@debbugs.gnu.org; Tue, 09 Oct 2018 00:41:02 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:49368) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1g9jpN-0005P6-H9 for submit@debbugs.gnu.org; Tue, 09 Oct 2018 00:41:01 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38309) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g9jpM-0005qG-IL for bug-guix@gnu.org; Tue, 09 Oct 2018 00:41:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g9jpJ-0005NI-Bz for bug-guix@gnu.org; Tue, 09 Oct 2018 00:41:00 -0400 Received: from mout02.posteo.de ([185.67.36.66]:33181) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1g9jpJ-0005Mj-1z for bug-guix@gnu.org; Tue, 09 Oct 2018 00:40:57 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 8F7372400E5 for ; Tue, 9 Oct 2018 06:40:55 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1539060055; bh=v8M2D8CHc7ODHGEiNk2rvS5I9K049NmAYUFlq7MVFtY=; h=From:To:Subject:Date:From; b=BZ7eJUEwJtjODzpMeUr/aqhGSXk4kdMpqSo9d0jYEtnRPK1mAHA6iv/ciO20C8UCv trgPbKg8fwpDIo0aERV2qxwt4Q51/3AZ9Nn93UcGfkqWvanEbr9woJolKm5qvgjsgN OK4LouV4aq/XuL3u+L9dLl5G+SfP7xrsrv7NDfKUINCAUeShtJ6ooYjDR4ow5imB+q TLxB8ePjrWhbKbMmwtSAUpXovFb2K1l1LHbshBj4iiOV9So8DDN04VzLNJ+wzOyj0m n1UGrSY54a8Ewqs0KksjpW+d99awKv44wb5aY2l4+Gm/EG1p0NeH0iKuoCA9rzunDU SP3+BhxGOFXUw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 42Tl0k4hJcz9rxL for ; Tue, 9 Oct 2018 06:40:54 +0200 (CEST) User-agent: mu4e 1.0; emacs 26.1 From: Brett Gilio Date: Mon, 08 Oct 2018 23:40:49 -0500 Message-ID: <87r2gz68by.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain; format=flowed X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Hi all, I am having an issue with trying to execute literally any pre-compiled binary files. One example is Telegram. Here is what is happening. brettg@oryxpro ~$ cd Downloads/tsetup.1.4.0/Telegram/ brettg@oryxpro ~/Downloads/tsetup.1.4.0/Telegram$ ls Telegram Updater brettg@oryxpro ~/Downloads/tsetup.1.4.0/Telegram$ ./Telegram bash: ./Telegram: No such file or directory brettg@oryxpro ~/Downloads/tsetup.1.4.0/Telegram$ Any ideas? -- Brett M. Gilio Free Software Foundation, Member https://gnu.org/s/guix/ | https://emacs.org From unknown Sun Jun 22 08:10:59 2025 X-Loop: help-debbugs@gnu.org Subject: bug#32995: Executing pre-compiled binaries Resent-From: Brett Gilio Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 09 Oct 2018 04:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32995 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Brett Gilio Cc: 32995@debbugs.gnu.org Received: via spool by 32995-submit@debbugs.gnu.org id=B32995.153906072910666 (code B ref 32995); Tue, 09 Oct 2018 04:53:02 +0000 Received: (at 32995) by debbugs.gnu.org; 9 Oct 2018 04:52:09 +0000 Received: from localhost ([127.0.0.1]:41085 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g9k09-0002ly-Kz for submit@debbugs.gnu.org; Tue, 09 Oct 2018 00:52:09 -0400 Received: from mout02.posteo.de ([185.67.36.66]:41415) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g9k07-0002lZ-Op for 32995@debbugs.gnu.org; Tue, 09 Oct 2018 00:52:08 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id ACAEA2400E6 for <32995@debbugs.gnu.org>; Tue, 9 Oct 2018 06:52:01 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1539060721; bh=YShvWgUv+Hn+Z1zNaCPA1DtWyELsZP2M9oPgzUN1zps=; h=From:To:Cc:Subject:Date:From; b=hOK4oppiUHPgKbTi56G9oNWcC/85GXgQuutDhZpwR6IwD16xtFrS3twnhEbUJ2bOt fMf6ZDkn4JuITyNqW8DOUgnAzIBak4nwlVGeiDxbb6q5hbr4mVKiHsHVOytfN22i51 Bl9GNGYab4316p9oUb+BegNr3kv2jAq03gq2FSsvV9xLfHOxRIG706jGUNpTL9w5zL qN7vlP2yL6b4g0Vp4EDtntRNGUfmwQ2je4FAOuRn3wwyKxS7GkvLFgty0mj7XR0YDp 5opXoMVTkfohnhoNzskj50TavKXSvzkEuzdAVJNL6ABZyS7QSM0WeBp2jVUcEf5B7x 3moOf/tO8EuMw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 42TlFX2rRkz9rxB; Tue, 9 Oct 2018 06:52:00 +0200 (CEST) References: <87r2gz68by.fsf@posteo.net> User-agent: mu4e 1.0; emacs 26.1 From: Brett Gilio In-reply-to: <87r2gz68by.fsf@posteo.net> Date: Mon, 08 Oct 2018 23:51:54 -0500 Message-ID: <87pnwj67th.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain; format=flowed X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Brett Gilio writes: > Hi all, I am having an issue with trying to execute literally > any > pre-compiled binary files. One example is Telegram. Here is what > is > happening. > > brettg@oryxpro ~$ cd Downloads/tsetup.1.4.0/Telegram/ > brettg@oryxpro ~/Downloads/tsetup.1.4.0/Telegram$ ls > Telegram Updater > brettg@oryxpro ~/Downloads/tsetup.1.4.0/Telegram$ ./Telegram > bash: ./Telegram: > No such file or directory > brettg@oryxpro ~/Downloads/tsetup.1.4.0/Telegram$ > > Any ideas? Also, in the strings evaluation of the binary I am getting /lib64/ld-linux-x86-64.so.2 From unknown Sun Jun 22 08:10:59 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Brett Gilio Subject: bug#32995: closed (Re: bug#32995: Executing pre-compiled binaries) Message-ID: References: <874ldvqnm4.fsf@elephly.net> <87r2gz68by.fsf@posteo.net> X-Gnu-PR-Message: they-closed 32995 X-Gnu-PR-Package: guix Reply-To: 32995@debbugs.gnu.org Date: Tue, 09 Oct 2018 14:49:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1539096542-10004-1" This is a multi-part message in MIME format... ------------=_1539096542-10004-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #32995: Executing pre-compiled binaries which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 32995@debbugs.gnu.org. --=20 32995: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D32995 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1539096542-10004-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 32995-done) by debbugs.gnu.org; 9 Oct 2018 14:48:28 +0000 Received: from localhost ([127.0.0.1]:42445 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g9tJE-0002ab-Bt for submit@debbugs.gnu.org; Tue, 09 Oct 2018 10:48:28 -0400 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21138) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g9tJC-0002aS-Kn for 32995-done@debbugs.gnu.org; Tue, 09 Oct 2018 10:48:27 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1539090167; cv=none; d=zoho.com; s=zohoarc; b=KqcMKi9rx5scR7wwCTTyF3SqZGEjULtljwpuUSEeTO//FGM//74I9ZYPrgRwsosrMs76QJmMbipHqarLG1bOr4T6aTUqmcsRSH2sx0SGVt1Vg0EhQ2GVP6HRF5EBC0cqW6D/23KveoWDxKc8NnO4jwcIpndaI5fnY4VKp4bgYug= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1539090167; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To:ARC-Authentication-Results; bh=3fIxdIvD7sb6YGqbBOZYk7/n8AkmfpVFpGU8nll04TI=; b=lB6xb4NhoSqYSjS652aIhzUIlphNtrr9MJ5381BsjnKpK+jT9T85DeSPjwiMpTaZ4pf8/JLH9XLj7LUkxDQZtf1xm03x2qx91kr3M9kZBd2dUV+3nMRlANooIV7sOZVu0S631IVjStr2A430AMQJdYFpEXA2xx/4Ij1BpbcDFNA= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1539090167; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; l=1545; bh=3fIxdIvD7sb6YGqbBOZYk7/n8AkmfpVFpGU8nll04TI=; b=BQ6MxSFdDNBatiJliM8GgYKsiJOrm6DMBbGa2oFxoo35fsF1NS6N2llRxnZKjfnc MChCg4zbkmu1YtpLPpCYSHfFo4C8JZEEftxDWvWRMMKK85XxbMy5dP2tPfv8bGSTjvE avvdzmxoTOTbZSJRcDJhPNxxoeSYkIbRZsgaCn+E= Received: from localhost (141.80.246.214 [141.80.246.214]) by mx.zohomail.com with SMTPS id 1539090166430470.5056713556893; Tue, 9 Oct 2018 06:02:46 -0700 (PDT) References: <87r2gz68by.fsf@posteo.net> <87pnwj67th.fsf@posteo.net> User-agent: mu4e 1.0; emacs 26.1 From: Ricardo Wurmus To: Brett Gilio Subject: Re: bug#32995: Executing pre-compiled binaries In-reply-to: <87pnwj67th.fsf@posteo.net> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Tue, 09 Oct 2018 15:02:43 +0200 Message-ID: <874ldvqnm4.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 32995-done Cc: 32995-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Brett, > Brett Gilio writes: > >> Hi all, I am having an issue with trying to execute literally any >> pre-compiled binary files. One example is Telegram. Here is what is >> happening. >> >> brettg@oryxpro ~$ cd Downloads/tsetup.1.4.0/Telegram/ >> brettg@oryxpro ~/Downloads/tsetup.1.4.0/Telegram$ ls >> Telegram Updater >> brettg@oryxpro ~/Downloads/tsetup.1.4.0/Telegram$ ./Telegram bash: >> ./Telegram: >> No such file or directory >> brettg@oryxpro ~/Downloads/tsetup.1.4.0/Telegram$ >> >> Any ideas? > > Also, in the strings evaluation of the binary I am getting > /lib64/ld-linux-x86-64.so.2 This is the dynamic linker/loader. It is provided by the GNU C library. The best approach is to avoid this problem and build the programme from source. Any other approach is really just a hack. Possible hacks are: 1. symlink the dynamic linker/loader from glibc to the expected location. 2. use =E2=80=9Cpatchelf=E2=80=9D to replace the reference to the linker on= an FHS system with a reference to the linker from our glibc. This would only be the first step. Binaries built and linked elsewhere are probably also going to have problems finding libraries. Here you would have to mess with LD_LIBRARY_PATH to satisfy these requirements. I suggest not going down this road and packaging the software instead. Since we don=E2=80=99t support the execution of pre-built binaries on Guix = I=E2=80=99m closing the bug report, but I hope my comments have been helpful in your case. -- Ricardo ------------=_1539096542-10004-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 9 Oct 2018 04:41:09 +0000 Received: from localhost ([127.0.0.1]:41078 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g9jpV-0002Vx-HH for submit@debbugs.gnu.org; Tue, 09 Oct 2018 00:41:09 -0400 Received: from eggs.gnu.org ([208.118.235.92]:56942) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g9jpT-0002Vk-Uo for submit@debbugs.gnu.org; Tue, 09 Oct 2018 00:41:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g9jpN-0005PC-L6 for submit@debbugs.gnu.org; Tue, 09 Oct 2018 00:41:02 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:49368) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1g9jpN-0005P6-H9 for submit@debbugs.gnu.org; Tue, 09 Oct 2018 00:41:01 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38309) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g9jpM-0005qG-IL for bug-guix@gnu.org; Tue, 09 Oct 2018 00:41:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g9jpJ-0005NI-Bz for bug-guix@gnu.org; Tue, 09 Oct 2018 00:41:00 -0400 Received: from mout02.posteo.de ([185.67.36.66]:33181) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1g9jpJ-0005Mj-1z for bug-guix@gnu.org; Tue, 09 Oct 2018 00:40:57 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 8F7372400E5 for ; Tue, 9 Oct 2018 06:40:55 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1539060055; bh=v8M2D8CHc7ODHGEiNk2rvS5I9K049NmAYUFlq7MVFtY=; h=From:To:Subject:Date:From; b=BZ7eJUEwJtjODzpMeUr/aqhGSXk4kdMpqSo9d0jYEtnRPK1mAHA6iv/ciO20C8UCv trgPbKg8fwpDIo0aERV2qxwt4Q51/3AZ9Nn93UcGfkqWvanEbr9woJolKm5qvgjsgN OK4LouV4aq/XuL3u+L9dLl5G+SfP7xrsrv7NDfKUINCAUeShtJ6ooYjDR4ow5imB+q TLxB8ePjrWhbKbMmwtSAUpXovFb2K1l1LHbshBj4iiOV9So8DDN04VzLNJ+wzOyj0m n1UGrSY54a8Ewqs0KksjpW+d99awKv44wb5aY2l4+Gm/EG1p0NeH0iKuoCA9rzunDU SP3+BhxGOFXUw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 42Tl0k4hJcz9rxL for ; Tue, 9 Oct 2018 06:40:54 +0200 (CEST) User-agent: mu4e 1.0; emacs 26.1 From: Brett Gilio To: bug-guix@gnu.org Subject: Executing pre-compiled binaries Date: Mon, 08 Oct 2018 23:40:49 -0500 Message-ID: <87r2gz68by.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain; format=flowed X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Hi all, I am having an issue with trying to execute literally any pre-compiled binary files. One example is Telegram. Here is what is happening. brettg@oryxpro ~$ cd Downloads/tsetup.1.4.0/Telegram/ brettg@oryxpro ~/Downloads/tsetup.1.4.0/Telegram$ ls Telegram Updater brettg@oryxpro ~/Downloads/tsetup.1.4.0/Telegram$ ./Telegram bash: ./Telegram: No such file or directory brettg@oryxpro ~/Downloads/tsetup.1.4.0/Telegram$ Any ideas? -- Brett M. Gilio Free Software Foundation, Member https://gnu.org/s/guix/ | https://emacs.org ------------=_1539096542-10004-1--