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: Termux package "CANNOT LINK EXECUTABLE" error with Emacs Android Date: Tue, 17 Oct 2023 15:24:44 +0300 Message-ID: <20231017152444.03a38072@Elitebook> 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="29754"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Oct 17 17:59:35 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 1qsmTm-0007XS-QW for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 17 Oct 2023 17:59:34 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qsmTH-0007M6-NA; Tue, 17 Oct 2023 11:59: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 1qsj81-00015u-5f for help-gnu-emacs@gnu.org; Tue, 17 Oct 2023 08:24:53 -0400 Original-Received: from mail-lf1-x134.google.com ([2a00:1450:4864:20::134]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qsj7z-000472-BB for help-gnu-emacs@gnu.org; Tue, 17 Oct 2023 08:24:52 -0400 Original-Received: by mail-lf1-x134.google.com with SMTP id 2adb3069b0e04-507a55302e0so3409161e87.0 for ; Tue, 17 Oct 2023 05:24:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697545488; x=1698150288; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:subject:to:from :date:from:to:cc:subject:date:message-id:reply-to; bh=Q1XeTnj4tR4IweiwJ/fJbLDJ00V7W/6kQpiEb0AKibU=; b=E61k5HZnRwMAlUqU6Xy5mBzL21xtJsp7flDdkltuZg+DGhA6TqQTHqua2yoyK9ntld KFlRK/FKwWgm/5AIWvNqczOFemctA/XfkGQsSgg6s/by804l6vYdRoc8vIp5v/7c/Mmr /7dThpK8VmQKojj2Z9UrxP34O0HkaiUIMUaj8xvvdHMj760GnmRUKoCLO1p0+oKnn81n vi4u0RwN5V1gACornbiHnuTU8/zHrUBrImIRpWdLxFHmmwAjR8iNavLv96AftvCb9zI5 YvVP5bUezPWglKz6fnBpIgzly3mbSD9Caq9lhdAWrU1waWUaufh6zV4sVp5QoggTJ8ha yG2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697545488; x=1698150288; h=content-transfer-encoding:mime-version:message-id:subject:to:from :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Q1XeTnj4tR4IweiwJ/fJbLDJ00V7W/6kQpiEb0AKibU=; b=g7RC2jV8CZ7O6RZCL+8pHNxg6fFZcRxgIFhasasrajrWntlQ08SJuK6u114U2xxeuz r4vf+mjSBEqPuamO46f/jDFE/12c1spKbBPXo4ErJZCCOvnf+3F01onpR19gDBj2VfWr IVByFusFN/Aqum2XDmxqKTGWs2X3hFSvPHhNIPcK/7S3a8wuZKkCbGbHtO3pA13xvzqI nzp0bUl6FdVIvXRuqcN66TnstJySB7VR3xPO3dX79WroAfaoz/idXePsSxrTfb8zOHFV EvEqZ0kVEHhrg0kMyrVwABp/bSxI6P8rtbKRJcoNp4YMCXFMvpIfifSvor89b6DG7LRe dsiQ== X-Gm-Message-State: AOJu0YyuLCrCwPJ3iuCoae48Fu9GA6tVO8AFme/nDZqlfFpdX+PDt1IK TEsW3SD4joDe7jkWVFuRlEUMYEWDRVbVTg== X-Google-Smtp-Source: AGHT+IEJNBJqeW5AFInR86u4pyvGpwMZTkHxB4vvzrvc9I3BgbELIp5ESzswbF7c9ieRZLEfKxc+MA== X-Received: by 2002:a19:8c56:0:b0:507:a9b7:f071 with SMTP id i22-20020a198c56000000b00507a9b7f071mr1465852lfj.1.1697545487837; Tue, 17 Oct 2023 05:24:47 -0700 (PDT) Original-Received: from Elitebook ([2a09:bac5:30ad:5f5::98:30]) by smtp.gmail.com with ESMTPSA id x14-20020ac25dce000000b004fbb011c9bcsm256003lfq.161.2023.10.17.05.24.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Oct 2023 05:24:47 -0700 (PDT) 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::134; envelope-from=mahlamytsike@gmail.com; helo=mail-lf1-x134.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-Mailman-Approved-At: Tue, 17 Oct 2023 11:59:00 -0400 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:145307 Archived-At: 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. Relevant information: Android 10 Downloaded Emacs 30.0.50-29 and Termux 0.118.0 from https://sourceforge.net/projects/android-ports-for-gnu-emacs/files/termux/ with shared user ID and Termux terminal emulator signed with Emacs's signing keys. Also made the following preparations: Emacs shell: $ pkg update && pkg upgrade and added to early-init.el: (setenv "PATH" (format "%s:%s" "/data/data/com.termux/files/usr/bin" (getenv "PATH"))) (setenv "LD_LIBRARY_PATH" (format "%s:%s" "/data/data/com.termux/files/usr/lib" (getenv "LD_LIBRARY_PATH"))) (push "/data/data/com.termux/files/usr/bin" exec-path) Other packages e.g. 'pkg' or 'git' work fine under Emacs shell.