From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id k0jFOFFCBWCWIgAA0tVLHw (envelope-from ) for ; Mon, 18 Jan 2021 08:09:53 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id pxgCNFFCBWCmfQAAbx9fmQ (envelope-from ) for ; Mon, 18 Jan 2021 08:09:53 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 596429403EB for ; Mon, 18 Jan 2021 08:09:53 +0000 (UTC) Received: from localhost ([::1]:47158 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l1Pbj-0002tP-03 for larch@yhetil.org; Mon, 18 Jan 2021 03:09:51 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:53982) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l1Pbb-0002rt-2W for help-guix@gnu.org; Mon, 18 Jan 2021 03:09:43 -0500 Received: from knopi.disroot.org ([178.21.23.139]:35880) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l1PbY-0004mz-Nc for help-guix@gnu.org; Mon, 18 Jan 2021 03:09:42 -0500 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 8A333533D3; Mon, 18 Jan 2021 09:09:38 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oNkeIy166l6t; Mon, 18 Jan 2021 09:09:37 +0100 (CET) Mime-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1610957376; bh=GBMoneIcCkQaW85QeX2zb6GBr+8OX/w2CAVfQCAByus=; h=Date:From:Subject:To:In-Reply-To:References; b=jo2UQsugHjMfRs8cERMryM4ynGIutTN4BIyhYCT9v+6VoyUrIdBk+NqESPUILgoOp 7hsPMyGnmZlqkZCDuDshLHcsXEIQEcm6N9vFp2/RyaBPPSrLUiP8avfj9qCYUbS6T1 taXYnbQERbTWUD9ULReifmKmmY85JYb3twqwhPWAph33750wa8fW3cjUMKL80i1Y0p MElWm94Hvvg4T4WiiSWkr0W9Xqmhtay1abnZil3IQ+89P5kwFdzPOTqL7ruXDEccz1 46MKNe8GvtVFY1Kw2oqBTLZiTevjVJsw0oaZpcGWNNgloioiGD0IJnuE/d3aU8a+2z xfOFtVUS6lQEw== Date: Mon, 18 Jan 2021 08:09:36 +0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: znavko@disroot.org Message-ID: <2834eeb9c3b50a5aa00f62aa3d414003@disroot.org> Subject: Re: How to use elfutils? bash: eu-strip: command not found To: "Pierre Neidhardt" , "help-guix" In-Reply-To: <87bldn1b6w.fsf@ambrevar.xyz> References: <87bldn1b6w.fsf@ambrevar.xyz> <87pn23j0bo.fsf@ambrevar.xyz> <31f42dbc5bd5733dff22060012d18ed7@disroot.org> Received-SPF: pass client-ip=178.21.23.139; envelope-from=znavko@disroot.org; helo=knopi.disroot.org X-Spam_score_int: 0 X-Spam_score: -0.1 X-Spam_bar: / X-Spam_report: (-0.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, PDS_OTHER_BAD_TLD=1.951, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.06 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=disroot.org header.s=mail header.b=jo2UQsug; dmarc=pass (policy=quarantine) header.from=disroot.org; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: 596429403EB X-Spam-Score: -1.06 X-Migadu-Scanner: scn0.migadu.com X-TUID: M2rt0aqind8P Yes, Pierre, you are right.=0A=0AI have found glibc folder and there was = that file in subfolder lib/ =0A=0A$ ls /gnu/store/fa6wj5bxkj5ll1d7292a70k= nmyl7a0cr-glibc-2.31/lib | grep ld-l=0Ald-linux-x86-64.so.2=0A=0AYou said= , that it's better to compile program from sources=0Ainstead of patching = elf. Ok. =0A=0AI've read an article about Bitcoin legal status in the USA= .=0AAnd understood that may be guix already has bitcoin-core in repositor= y.=0AAnd finally I've installed it with=0A=0A$ guix install bitcoin-core= =0A=0AThank you!=0A=0A=0A=0AJanuary 17, 2021 9:54 PM, "Pierre Neidhardt" = wrote:=0A=0A> Frankly, it's easier to get your progra= m to run if you can compile it=0A> from source.=0A> It's going to be quit= e tricky to patch the ELF.=0A> =0A> The linker is in the "lib" folder of = the glibc package.=0A> =0A>> "/gnu/store/m9vxvh...-glibc-2.23/lib/ld-linu= x-x86-64.so.2"=0A> =0A> This is correct.=0A> =0A>> So, I installed as I c= an understand glibc:=0A>> =0A>> $ guix install glibc=0A>> ...ok=0A>> =0A>= > $ whereis ld-linux=0A>> ld-linux:=0A> =0A> I don't use whereis, my gues= s is that it's not looking in the right=0A> location.=0A> Note that the l= inker is a .so file in a /lib folder, which is maybe why=0A> whereis cann= ot find it.=0A> =0A>> # find / -type d -name "*ld-linux*"=0A>> find: =E2= =80=98/run/user/1000/gvfs=E2=80=99: Permission denied=0A> =0A> You are lo= oking for folder here, this cannot work. You need to use=0A> `-type f' in= stead.=0A> =0A> Hope that helps!=0A> =0A> --=0A> Pierre Neidhardt=0A> htt= ps://ambrevar.xyz