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 16:41:51 +0300 Message-ID: <20231017164151.42830fd4@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="16559"; 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 15:42:51 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 1qskLS-00042t-Sj for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 17 Oct 2023 15:42:50 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qskKh-0002Dm-Sc; Tue, 17 Oct 2023 09:42: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 1qskKf-0002DF-9r for help-gnu-emacs@gnu.org; Tue, 17 Oct 2023 09:42:01 -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 1qskKd-0003uN-92 for help-gnu-emacs@gnu.org; Tue, 17 Oct 2023 09:42:00 -0400 Original-Received: by mail-lf1-x134.google.com with SMTP id 2adb3069b0e04-5079f9ec8d9so4377000e87.0 for ; Tue, 17 Oct 2023 06:41:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697550117; x=1698154917; 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=h/b/WLvJ7bMLtxtZQeH9LK8QU46tA2v0GWFHBb4zZMCwR8ctbjcxBdeopGvEvYDVQw 5ljm4971gfGi1VxNyNqpucCrwGzRaaw69NeSVCEuryideCdpqZGiYDYFVibZbRC7x4ds W+uu+kYuMxI1uEfCJY/VSdXPeaNieHVRPX7sEpOgQAYsDQnyGSDggvXFfsAOyqKzYOXO jhraeUQ7ZrHZQ4mtZDhL2shHvXx57crnhLNpKtQ4OBM4ODGYldqTRqIEL/s4QbYI5K1S xP9HYXpqTJZWcuSLVq1VgA5ZXwBZYsAdjssbjGotpy0THp0HdCKPJM0My8oU+ByKUgyp z0sA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697550117; x=1698154917; 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=MLydJEY1PnfrgowiHwn4O/XhvX9UVYSkjWW/xwwW/irPUxwMCSCigk/JqmRB5Ksjwh nl3f+wX1mQYAtY/GDVzsUCwidYmty4FVXdXp3Z7g7/QOLtK+gwuwF6fT1hvz60pOQQAu 1M4SRKYxw2lkw8BkkNAxJ8+wyNEySEWkafmmqBD0bSZP2Ew9Ww+LxEmijT6NGbT6veLB JZaMYP3//Q808JxxbFy/6Pn7TndMlVE8yT+6fAvZC5NFWaVR/oHgHodpQ7FZYpzyj6BX /oTSnFcOmfRAQmcCWNuEV0RTUcA3pjQER5Sz0KA1dFaSNQkaoucOEtdbgp2HPhQaTnsO qnqQ== X-Gm-Message-State: AOJu0Yz55w2UUJLPbbM0rvxm37hJYRcuvYIiUb59efzqZrqW8x2/vA+D 8P6EljJlulkVWPfQfGi/iQAwTUlZxMZOww== X-Google-Smtp-Source: AGHT+IGgpg6jnoaHs0uSV2ZFBDJUQut98gkHoJ1Of2AjYzreCobVooinpptrvgXYrjxN0ssE270f/Q== X-Received: by 2002:ac2:5977:0:b0:502:e235:20c7 with SMTP id h23-20020ac25977000000b00502e23520c7mr951161lfp.20.1697550116934; Tue, 17 Oct 2023 06:41:56 -0700 (PDT) Original-Received: from Elitebook ([2a09:bac5:30ad:5f5::98:30]) by smtp.gmail.com with ESMTPSA id o21-20020ac24e95000000b005033484b279sm287183lfr.1.2023.10.17.06.41.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Oct 2023 06:41:55 -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-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:145304 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.