From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Herman Newsgroups: gmane.emacs.help Subject: Re: Termux package "CANNOT LINK EXECUTABLE" error with Emacs Android Date: Tue, 17 Oct 2023 17:26:50 +0300 Message-ID: <20231017172650.4c9fc47e@Elitebook> References: <20231017164151.42830fd4@Elitebook> <87y1g15pna.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17683"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: Po Lu Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Oct 17 16:27:43 2023 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qsl2s-0004OD-Ue for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 17 Oct 2023 16:27:42 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qsl2E-0004Uy-W3; Tue, 17 Oct 2023 10:27:03 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qsl2D-0004ME-8p for help-gnu-emacs@gnu.org; Tue, 17 Oct 2023 10:27:01 -0400 Original-Received: from mail-lf1-x131.google.com ([2a00:1450:4864:20::131]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qsl27-00017P-T5 for help-gnu-emacs@gnu.org; Tue, 17 Oct 2023 10:27:01 -0400 Original-Received: by mail-lf1-x131.google.com with SMTP id 2adb3069b0e04-507a98517f3so3232948e87.0 for ; Tue, 17 Oct 2023 07:26:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697552814; x=1698157614; darn=gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=OPDWxu5ES5hUqQAm5MReGwdApiFY7P1uSnQhnhlnhuM=; b=StPdfM10BFlcX5aB3ADEQ5/6A8nGjFcgjKqNYhD2Q4un2CNwFuOeoUJfEhLh8H8R4Y 8dZulsCBMd0oXEvCiJjDLholZOzSB/eXUA5i81m09Y54uwqQ5RuooiSVb+PlxM/ndJOv msI/JLCUCelnoQ50bJ0UsxkHd1Qkus+yNKvlJEFTS2m7wivhsjEsnaa4HbbN+zYfRezW WEIWb61l3poJtPMk2E1kZqpxma8+QaVRvImf+D9DAu2C18Rh3z8xUv6VyURqITL44hUI dP7J4FwyRETkc7L+K950MrDtXXhyDdquQlLgF+pPLJ4wbllI8bvdPWU/ufYatVzol7LC uJhw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697552814; x=1698157614; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=OPDWxu5ES5hUqQAm5MReGwdApiFY7P1uSnQhnhlnhuM=; b=umCP8cFvebWvkvyj23lHYSOwS9YlW+SsiWgO76kCQy7MW7KPOCkdGva1cmPNjjEgMv 8KlQydtWkTjscNr7pRngIwwutm2s/4Bj6+XCywoD6larO1N5y/RnNaBJdSPNi48McFUj oP7vHgxBcNqoZt69xoxZ/OUnecDT0/y2/+XM9/Gmp8HbzZPPG/AfEKP1ljRzX+mdZRDJ VHT1BkNUKCSUuiIYmnKMSX1oEgzm+Yt0MoAzG9VgauoJ3F0et5VXkBPFNm0rBl4ULRM6 G3+wxmNiwHj3RC2UunEIaIwXBXcQnM0SBouPZkx+lY7Z7PgFsNCmUAxf7TUcFO0GffQY /hTg== X-Gm-Message-State: AOJu0Yzp98ReFal5ABgmM9NYr+pNQ7+uxIZKaWhM7pQX8xKBBB59UlcI +4SGkEi9hQHj076FJDd5DdQInCEEKFvwWA== X-Google-Smtp-Source: AGHT+IEkT8Pcq2h0xA9lpc4BkojepshT9WPeHrL0XadYsZ8hkMiCyGNQE6DSCB9c7kV3nuHd+uy7Dg== X-Received: by 2002:a05:6512:613:b0:507:9fc1:ca7e with SMTP id b19-20020a056512061300b005079fc1ca7emr1733666lfe.51.1697552813809; Tue, 17 Oct 2023 07:26:53 -0700 (PDT) Original-Received: from Elitebook ([2a09:bac5:30ad:5f5::98:30]) by smtp.gmail.com with ESMTPSA id j9-20020a056512344900b0050451e663f1sm300949lfr.28.2023.10.17.07.26.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Oct 2023 07:26:53 -0700 (PDT) In-Reply-To: <87y1g15pna.fsf@yahoo.com> X-Mailer: Claws Mail 4.1.1 (GTK 3.24.38; x86_64-pc-linux-gnu) Received-SPF: pass client-ip=2a00:1450:4864:20::131; envelope-from=mahlamytsike@gmail.com; helo=mail-lf1-x131.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:145306 Archived-At: On Tue, 17 Oct 2023 21:45:13 +0800 Po Lu wrote: > Herman writes: > > > Hi ! > > > > Installed megacmd package under Termux. > > > > megacmd commands under Termux work fine. But not under Emacs shell > > or eshell: > > > > $ megasimplesync > > CANNOT LINK EXECUTABLE > > "/data/data/com.termux/files/usr/bin/megasimplesync": cannot locate > > symbol "CrcGenerateTable" referenced by > > "/system/lib64/libunwindstack.so"... > > > > To reproduce it's enough to run any 'mega-'command. > > $ mega-login > > > > $ cat ~/megaCmd/megacmdserver.log > > CANNOT LINK EXECUTABLE "mega-smd-server": cannot locate symbol > > "CrcGenerateTable" referenced by > > "/system/lib64/libunwindstack.so"... > > > > Dont know, if it is misconfiguration or bug. > > > > Hmm, what if you introduce an entry for /system/lib64 into > LD_LIBRARY_PATH? Thanks ! Adding /system/lib64 into LD_LIBRARY_PATH made megasumplesync working. This revealed now the next obstacle. Megasimplesync is a simple process that just stays on after launch. However, all other 'mega-' commands will spawn 'mega-cmd-server' and this will fail under Emacs. $ mega-sync [Initiating MEGAcmd server in background. Log: /data/data/org.gnu.emacs/files/.megaCmd/megacmdserver.log] Unable to connect to service: error=111 Please ensure mega-cmd-server is running Failed to create socket for registering for state changes $ cat ~/.megaCmd/megacmdserver.log CANNOT LINK EXECUTABLE "mega-cmd-server": cannot locate symbol "_ZN7pcrecpp2RE6no_argE" referenced by "/data/data/com.termux/files/usr/bin/mega-cmd-server"...