After finish install Octave in Termux, got error when run octave

Hi everyone,

I am new to here. I finish the installing of octave in termux follow the instruction form ‘Octave for Android - Octave’. When I try to run octave. I got error message:

“~ $ octave
octave: X11 DISPLAY environment variable not set
octave: disabling GUI features
CANNOT LINK EXECUTABLE “/data/data/com.termux/files/usr/bin/octave-cli-6.1.0”: cannot locate symbol “__lshrdi3” referenced by “/data/data/com.termux/files/usr/lib/”…

Is there anybody can help me solve this problem. Thank you.

IIUC, that symbol should correspond to a function in GCC’s low-level library libgcc:
Integer library routines (GNU Compiler Collection (GCC) Internals)

I’m not sure how that whole thing should be working on Android. Should that library be or should it not be linked into the resulting binary?
Maybe a compilation or linker error of the STL libraries?

Thank you for reply. I think the reason is the installation are not completed, because the source distribution is not under maintenance anymore. I may need to compile the octave from its source code. Don’t have any clue on how to do it.