From: Po Lu <luangruo@yahoo.com>
To: Herman <mahlamytsike@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Termux package "CANNOT LINK EXECUTABLE" error with Emacs Android
Date: Tue, 17 Oct 2023 21:45:13 +0800 [thread overview]
Message-ID: <87y1g15pna.fsf@yahoo.com> (raw)
In-Reply-To: <20231017164151.42830fd4@Elitebook> (Herman's message of "Tue, 17 Oct 2023 16:41:51 +0300")
Herman <mahlamytsike@gmail.com> 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.
>
> 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.
Hmm, what if you introduce an entry for /system/lib64 into
LD_LIBRARY_PATH?
next prev parent reply other threads:[~2023-10-17 13:45 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-17 13:41 Termux package "CANNOT LINK EXECUTABLE" error with Emacs Android Herman
2023-10-17 13:45 ` Po Lu [this message]
2023-10-17 14:26 ` Herman
2023-10-17 17:17 ` Herman
-- strict thread matches above, loose matches on Subject: below --
2023-10-17 12:24 Herman
2023-10-17 0:07 mahlamytsike
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y1g15pna.fsf@yahoo.com \
--to=luangruo@yahoo.com \
--cc=help-gnu-emacs@gnu.org \
--cc=mahlamytsike@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.