help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Termux package "CANNOT LINK EXECUTABLE" error with Emacs Android


From: Herman
Subject: Termux package "CANNOT LINK EXECUTABLE" error with Emacs Android
Date: Tue, 17 Oct 2023 15:24:44 +0300

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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]